gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: Large GCL Configurations


From: Aurelien Chanudet
Subject: [Gcl-devel] Re: Large GCL Configurations
Date: Sun, 11 Apr 2004 15:25:58 +0200

export PATH=/sw/bin:$PATH
export C_INCLUDE_PATH=/sw/include:$C_INCLUDE_PATH
export LIBRARY_PATH=/sw/lib:$LIBRARY_PATH
export LD_LIBRARY_PATH=/sw/lib:$LD_LIBRARY_PATH

Also make sure you do :
export CPPFLAGS="-no-cpp-precomp"
ulimit -s 8192

If this pulls in a new gcc, you can either

export CC=<path to old gcc>
or export GCC_EXEC_PREFIX=<new_path....>/gcc-lib/

That should not be necessary.

Then just configure and make as usual.

Due to the great assistance of Aurelien, our GCL macosx guy, this is
supposed to work now out of the box.

Please keep us posted.

Take care,

"Warren A. Hunt Jr." <address@hidden> writes:

Hi Camm,

I am trying to build GCL (gcl_2.6.1-36) on a MacIntosh running 10.2.8.
I know the current system is 10.3.3, but my attempt is on an older
laptop that I can't upgrade because it doesn't have a built-in USB
port.  Of course, you may tell me that GCL only works on 10.3.x, in
which case I will just try with another computer.

I tried the configure command, but it failed.  It first failed to
complete when it couldn't find the file "libintl.h".  I copied it from
the FINK "include" directory into "/usr/include" and then it failed
again just a couple of lines later (see below).

This should no longer be necessary as long as you define the C_INCLUDE_PATH environment variable as explained above.

My system has a lot of files with "*gettext*" in the file name (see
below the results of the configure script, but I don't know what to
do.  Is there anything I can do to make this work?

Make sure you have gettext installed from fink. Here is what I get on my box :

$ fink list | grep gettext
 i      gettext 0.10.40-17      Message localization support
 i      gettext-bin     0.10.40-17      Executables for gettext package
i gettext-dev 0.10.40-17 Developer files for gettext package
        kbabel  3.2.0-21        KDE - edit and manage gettext PO files

Also make sure you have GNU sed installed from fink :

$ fink list | grep sed | grep GNU
 i      sed     4.0.5-1 The stream editor, GNU version
        wdiff   0.5g-11 Word-based frontend to GNU diff

Thanks,

Warren
++++++

hunt[30]: ./configure
checking build system type... powerpc-apple-darwin6.8
checking host system type... powerpc-apple-darwin6.8
host=powerpc-apple-darwin6.8
enable_machine=
use=powerpc-macosx
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking system version (for dynamic loading)... checking for makeinfo... makeinfo
Darwin-6.8
checking use_gmp=yes, doing configure in gmp directory...
#
#
# -------------------
# Subconfigure of GMP
#
#
configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used.
checking build system type... powerpc-apple-darwin6.8
checking host system type... powerpc-apple-darwin6.8
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking compiler powerpc-apple-darwin6.8-gcc -g -O2 -mpowerpc ... no
checking compiler gcc -g -O2 -mpowerpc ... yes
checking compiler gcc -g -O2 -mpowerpc  -Wa,-mppc... no
checking compiler gcc -g -O2 -mpowerpc -no-cpp-precomp... yes
checking for powerpc-apple-darwin6.8-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
using ABI="standard"
      CC="gcc"
      CFLAGS="-g -O2 -mpowerpc -no-cpp-precomp"
      CPPFLAGS=""
checking for gcc option to accept ANSI C... none needed
checking for function prototypes... yes
checking for ANSI C header files... yes
checking for string.h... yes
checking for powerpc-apple-darwin6.8-ar... no
checking for ar... ar
checking for BSD-compatible nm... nm
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic Mach-O dynamically linked shared library
checking for dlfcn.h... no
checking the maximum length of command line arguments... 24577
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for powerpc-apple-darwin6.8-ranlib... no
checking for ranlib... ranlib
checking for powerpc-apple-darwin6.8-strip... no
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin6.8 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for locale.h... yes
checking for sys/mman.h... yes
checking for sys/param.h... yes
checking for sys/processor.h... no
checking for sys/resource.h... yes
checking for sys/sysctl.h... yes
checking for sys/systemcfg.h... no
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether fgetc is declared... yes
checking whether fscanf is declared... yes
checking whether optarg is declared... yes
checking whether ungetc is declared... yes
checking whether vfprintf is declared... yes
checking return type of signal handlers... void
checking for intmax_t... yes
checking for long double... yes
checking for long long... yes
checking for ptrdiff_t... yes
checking for quad_t... yes
checking for preprocessor stringizing operator... yes
checking whether <stdarg.h> exists and works... yes
checking whether gcc __attribute__ ((const)) works... yes
checking whether gcc __attribute__ ((malloc)) works... yes
checking whether gcc __attribute__ ((mode (XX))) works... yes
checking whether gcc __attribute__ ((noreturn)) works... yes
checking for inline... inline
checking for main in -lm... yes
checking for working alloca.h... no
checking for alloca (via gmp-impl.h)... yes
checking how to allocate temporary memory... alloca
checking for alarm... yes
checking for getpagesize... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for localeconv... yes
checking for memset... yes
checking for mmap... yes
checking for mprotect... yes
checking for obstack_vprintf... no
checking for popen... yes
checking for processor_info... yes
checking for read_real_time... no
checking for strchr... yes
checking for strnlen... no
checking for strtoul... yes
checking for sysconf... yes
checking for sysctl... yes
checking for sysctlbyname... yes
checking for times... yes
checking for vsnprintf... yes
checking whether vsnprintf works... yes
checking whether sscanf needs writable input... no
checking for suitable m4... m4
checking if m4wrap produces spurious output... no
checking how to switch to text section... .text
checking how to switch to data section... .data
checking what assembly label suffix to use... :
checking how to export a symbol... .globl
checking if globals are prefixed by underscore... yes
checking how to switch to read-only data section... .data
checking if the export directive needs an attribute...
checking for assembler .type directive...
checking for assembler .size directive...
checking what prefix to use for a local label... L
checking how to define a 32-bit word... .long
checking if .align assembly directive is logarithmic... yes
checking if the assembler needs r on registers... yes
creating config.m4
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mpbsd/Makefile
config.status: creating mpf/Makefile
config.status: creating mpn/Makefile
config.status: creating mpq/Makefile
config.status: creating mpz/Makefile
config.status: creating printf/Makefile
config.status: creating scanf/Makefile
config.status: creating cxx/Makefile
config.status: creating tests/Makefile
config.status: creating tests/devel/Makefile
config.status: creating tests/mpbsd/Makefile
config.status: creating tests/mpf/Makefile
config.status: creating tests/mpn/Makefile
config.status: creating tests/mpq/Makefile
config.status: creating tests/mpz/Makefile
config.status: creating tests/rand/Makefile
config.status: creating tests/misc/Makefile
config.status: creating tests/cxx/Makefile
config.status: creating tune/Makefile
config.status: creating demos/Makefile
config.status: creating demos/calc/Makefile
config.status: creating demos/expr/Makefile
config.status: creating gmp.h
config.status: creating mp.h
config.status: creating demos/expr/expr-impl.h
config.status: creating config.h
config.status: config.h is unchanged
config.status: linking ./mpn/powerpc32/umul.asm to mpn/umul.asm
config.status: linking ./mpn/generic/add.c to mpn/add.c
config.status: linking ./mpn/generic/add_1.c to mpn/add_1.c
config.status: linking ./mpn/powerpc32/add_n.asm to mpn/add_n.asm
config.status: linking ./mpn/generic/sub.c to mpn/sub.c
config.status: linking ./mpn/generic/sub_1.c to mpn/sub_1.c
config.status: linking ./mpn/powerpc32/sub_n.asm to mpn/sub_n.asm
config.status: linking ./mpn/powerpc32/mul_1.asm to mpn/mul_1.asm
config.status: linking ./mpn/powerpc32/addmul_1.asm to mpn/addmul_1.asm config.status: linking ./mpn/powerpc32/submul_1.asm to mpn/submul_1.asm
config.status: linking ./mpn/powerpc32/lshift.asm to mpn/lshift.asm
config.status: linking ./mpn/powerpc32/rshift.asm to mpn/rshift.asm
config.status: linking ./mpn/generic/dive_1.c to mpn/dive_1.c
config.status: linking ./mpn/generic/diveby3.c to mpn/diveby3.c
config.status: linking ./mpn/generic/divis.c to mpn/divis.c
config.status: linking ./mpn/generic/divrem.c to mpn/divrem.c
config.status: linking ./mpn/generic/divrem_1.c to mpn/divrem_1.c
config.status: linking ./mpn/generic/divrem_2.c to mpn/divrem_2.c
config.status: linking ./mpn/generic/fib2_ui.c to mpn/fib2_ui.c
config.status: linking ./mpn/generic/mod_1.c to mpn/mod_1.c
config.status: linking ./mpn/generic/mod_34lsub1.c to mpn/mod_34lsub1.c
config.status: linking ./mpn/generic/mode1o.c to mpn/mode1o.c
config.status: linking ./mpn/generic/pre_mod_1.c to mpn/pre_mod_1.c
config.status: linking ./mpn/generic/dump.c to mpn/dump.c
config.status: linking ./mpn/generic/mul.c to mpn/mul.c
config.status: linking ./mpn/generic/mul_fft.c to mpn/mul_fft.c
config.status: linking ./mpn/generic/mul_n.c to mpn/mul_n.c
config.status: linking ./mpn/generic/mul_basecase.c to mpn/mul_basecase.c config.status: linking ./mpn/generic/sqr_basecase.c to mpn/sqr_basecase.c
config.status: linking ./mpn/generic/random.c to mpn/random.c
config.status: linking ./mpn/generic/random2.c to mpn/random2.c
config.status: linking ./mpn/generic/sqrtrem.c to mpn/sqrtrem.c
config.status: linking ./mpn/generic/get_str.c to mpn/get_str.c
config.status: linking ./mpn/generic/set_str.c to mpn/set_str.c
config.status: linking ./mpn/generic/scan0.c to mpn/scan0.c
config.status: linking ./mpn/generic/scan1.c to mpn/scan1.c
config.status: linking ./mpn/generic/popcount.c to mpn/popcount.c
config.status: linking ./mpn/generic/hamdist.c to mpn/hamdist.c
config.status: linking ./mpn/generic/cmp.c to mpn/cmp.c
config.status: linking ./mpn/generic/perfsqr.c to mpn/perfsqr.c
config.status: linking ./mpn/generic/bdivmod.c to mpn/bdivmod.c
config.status: linking ./mpn/generic/gcd_1.c to mpn/gcd_1.c
config.status: linking ./mpn/generic/gcd.c to mpn/gcd.c
config.status: linking ./mpn/generic/gcdext.c to mpn/gcdext.c
config.status: linking ./mpn/generic/tdiv_qr.c to mpn/tdiv_qr.c
config.status: linking ./mpn/generic/dc_divrem_n.c to mpn/dc_divrem_n.c config.status: linking ./mpn/generic/sb_divrem_mn.c to mpn/sb_divrem_mn.c
config.status: linking ./mpn/generic/jacbase.c to mpn/jacbase.c
config.status: linking ./mpn/powerpc32/sqr_diagonal.asm to mpn/sqr_diagonal.asm
config.status: linking ./mpn/powerpc32/gmp-mparam.h to gmp-mparam.h
#
#
#
# Subconfigure of GMP done
# ------------------------
#
checking "for leading underscore in object symbols"... "yes"
checking "for GNU ld option -Map"... "no"
checking "for size of gmp limbs"... 4
checking "_SHORT_LIMB"... no
checking "_LONG_LONG_LIMB"... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
-I/usr/X11R6/include
-L/usr/X11R6/lib

-lSM -lICE
checking for main in -lXmu... yes
checking for main in -lXt... yes
checking for main in -lXext... yes
checking for main in -lXaw... yes
checking for main in -lX11... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for library containing dgettext... no
configure: error: gettext library not found

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

hunt[43]: find / -name "*gettext*"
/: /.Trashes: Permission denied
/Developer/Documentation/QuickTime/qtdevdocs/APIREF/SOURCESIII/ sggettextreturntospacevalue.htm /Developer/Documentation/QuickTime/qtdevdocs/APIREF/SOURCESIII/ textmediagettextproperty.htm
/sw/bin/gettext
/sw/bin/gettextize
/sw/bin/ngettext
/sw/bin/xgettext
/sw/fink/10.2/stable/main/finkinfo/base/gettext-0.10.40-3.info
/sw/fink/10.2/stable/main/finkinfo/base/gettext-0.10.40-3.patch
/sw/fink/10.2/unstable/main/finkinfo/base/gettext-0.10.40-3.info
/sw/fink/10.2/unstable/main/finkinfo/base/gettext-0.10.40-3.patch
/sw/share/aclocal/gettext.m4
/sw/share/doc/gettext
/sw/share/doc/gettext/gettext.3.html
/sw/share/doc/gettext/gettext_1.html
/sw/share/doc/gettext/gettext_10.html
/sw/share/doc/gettext/gettext_11.html
/sw/share/doc/gettext/gettext_12.html
/sw/share/doc/gettext/gettext_13.html
/sw/share/doc/gettext/gettext_14.html
/sw/share/doc/gettext/gettext_2.html
/sw/share/doc/gettext/gettext_3.html
/sw/share/doc/gettext/gettext_4.html
/sw/share/doc/gettext/gettext_5.html
/sw/share/doc/gettext/gettext_6.html
/sw/share/doc/gettext/gettext_7.html
/sw/share/doc/gettext/gettext_8.html
/sw/share/doc/gettext/gettext_9.html
/sw/share/doc/gettext/gettext_foot.html
/sw/share/doc/gettext/gettext_toc.html
/sw/share/doc/gettext/ngettext.3.html
/sw/share/gettext
/sw/share/gettext/intl/dcgettext.c
/sw/share/gettext/intl/dcigettext.c
/sw/share/gettext/intl/dcngettext.c
/sw/share/gettext/intl/dgettext.c
/sw/share/gettext/intl/dngettext.c
/sw/share/gettext/intl/gettext.c
/sw/share/gettext/intl/gettext.h
/sw/share/gettext/intl/gettextP.h
/sw/share/gettext/intl/libgettext.h
/sw/share/gettext/intl/ngettext.c
/sw/share/info/gettext.info
/sw/share/info/gettext.info-1
/sw/share/info/gettext.info-2
/sw/share/info/gettext.info-3
/sw/share/info/gettext.info-4
/sw/share/info/gettext.info-5
/sw/share/locale/cs/LC_MESSAGES/gettext.mo
/sw/share/locale/da/LC_MESSAGES/gettext.mo
/sw/share/locale/de/LC_MESSAGES/gettext.mo
/sw/share/locale/el/LC_MESSAGES/gettext.mo
/sw/share/locale/address@hidden/LC_MESSAGES/gettext.mo
/sw/share/locale/address@hidden/LC_MESSAGES/gettext.mo
/sw/share/locale/es/LC_MESSAGES/gettext.mo
/sw/share/locale/et/LC_MESSAGES/gettext.mo
/sw/share/locale/fr/LC_MESSAGES/gettext.mo
/sw/share/locale/gl/LC_MESSAGES/gettext.mo
/sw/share/locale/id/LC_MESSAGES/gettext.mo
/sw/share/locale/it/LC_MESSAGES/gettext.mo
/sw/share/locale/ja/LC_MESSAGES/gettext.mo
/sw/share/locale/ko/LC_MESSAGES/gettext.mo
/sw/share/locale/nl/LC_MESSAGES/gettext.mo
/sw/share/locale/nn/LC_MESSAGES/gettext.mo
/sw/share/locale/no/LC_MESSAGES/gettext.mo
/sw/share/locale/pl/LC_MESSAGES/gettext.mo
/sw/share/locale/pt/LC_MESSAGES/gettext.mo
/sw/share/locale/pt_BR/LC_MESSAGES/gettext.mo
/sw/share/locale/ru/LC_MESSAGES/gettext.mo
/sw/share/locale/sl/LC_MESSAGES/gettext.mo
/sw/share/locale/sv/LC_MESSAGES/gettext.mo
/sw/share/locale/tr/LC_MESSAGES/gettext.mo
/sw/share/locale/zh/LC_MESSAGES/gettext.mo
/sw/share/man/man3/dcgettext.3
/sw/share/man/man3/dcngettext.3
/sw/share/man/man3/dgettext.3
/sw/share/man/man3/dngettext.3
/sw/share/man/man3/gettext.3
/sw/share/man/man3/ngettext.3
/sw/var/lib/dpkg/info/gettext.list
/sw/var/lib/dpkg/info/gettext.postinst
/sw/var/lib/dpkg/info/gettext.prerm
/usr/lib/python2.2/gettext.py
/usr/lib/python2.2/gettext.pyc
/usr/lib/python2.2/gettext.pyo
/Volumes/Software/Downloads/gcl-2.6.1/binutils/gettext.m4
hunt[44]:




--
Camm Maguire                                            address@hidden
======================================================================= === "The earth is but one country, and mankind its citizens." -- Baha'u'llah






reply via email to

[Prev in Thread] Current Thread [Next in Thread]