aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: Compling issue on 10.5 mac  (Read 7879 times)

jchiar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Compling issue on 10.5 mac
« on: June 12, 2008, 06:01:19 PM »

When run the make command for amule,



i get this error
      wxMBConv_iconv::MB2WC(wchar_t*, char const*, unsigned long) constin libwx_base_carbonud-2.8.a(baselib_strconv.o)
      wxMBConv_iconv::MB2WC(wchar_t*, char const*, unsigned long) constin libwx_base_carbonud-2.8.a(baselib_strconv.o)
      wxMBConv_iconv::WC2MB(char*, wchar_t const*, unsigned long) constin libwx_base_carbonud-2.8.a(baselib_strconv.o)
      wxMBConv_iconv::WC2MB(char*, wchar_t const*, unsigned long) constin libwx_base_carbonud-2.8.a(baselib_strconv.o)
      wxMBConv_iconv::GetMBNulLen() const  in libwx_base_carbonud-2.8.a(baselib_strconv.o)
      __nl_find_msg in libintl.a(dcigettext.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [amuleweb] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Prior to this i ran configure like this


sh-3.2# ./configure --disable-systray --disable-gtk --enable-embedded_crypto    \
>            --with-wx-config=../wxMac-2.8.7/build/wx-config    \
>            --enable-cas --enable-webserver --enable-amulecmd    \
>            --enable-debug --disable-optimize --with-crypto-prefix=/usr/local/cryptopp
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... 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 build system type... i686-apple-darwin9.3.0
checking host system type... i686-apple-darwin9.3.0
checking if this is a FreeBSD 4 or earlier system... no
checking for g++... g++
checking for C++ compiler default output file name... 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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) awk
checking for egrep... grep -E
checking whether make sets $(MAKE)... (cached) yes
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... bison -y
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for zlib >= 1.1.4... yes (version 1.2.3)
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... 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 for gdlib-config... no
configure: WARNING:
        gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
        Please check that gdlib-config is in your default path, check out
        LD_LIBRARY_PATH or equivalent variable.
        Or this might also be that your gdlib-config has other name.
        Please try again with --with-gdlib-config=/usr/bin/gdlib-config
        (replace /usr/bin/gdlib-config with a valid path to your gdlib-config).
        If you use compiled packages check if you have devel pack installed.
        To download the latest version check http://www.boutell.com/gd
        for sources.
checking for a POSIX compliant regex library... yes
checking for libpng-config... /opt/local/bin/libpng-config
checking for libpng version >= 1.2.0... yes (version 1.2.23)
checking for File::Copy... ok
checking whether we need the GUI... yes
checking for the --with-toolkit option... will be automatically detected
checking for the --with-wxshared option... will be automatically detected
checking for the --with-wxdebug option... will be automatically detected
checking for the --with-wxversion option... will be automatically detected
checking for wx-config... ../wxMac-2.8.7/build/wx-config
checking for wxWidgets version >= 2.8.0 (--unicode=yes)... yes (version 2.8.7)
checking for wxWidgets static library... yes
checking if wxWidgets was built in DEBUG mode... yes
checking if wxWidgets was built in STATIC mode... yes
checking which wxWidgets toolkit was selected... mac
checking for crypto++ version >= 5.1... yes (version 5.5.2, installed)
checking if we're using the GNU C++ library... yes
checking that wxWidgets has support for large files... yes
checking for exception-handling... yes
checking for <cxxabi.h> and __cxa_demangle()... yes
checking for bfd... no
configure: WARNING:
        bfd.h not found or unusable, please install binutils development
        package if you are a developer or want to help testing aMule
checking for <execinfo.h> and backtrace()... yes
checking for extended flex capabilities... yes
checking for X... libraries /usr/X11/lib, headers /usr/X11/include
checking for working alloca.h... yes
checking for alloca... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking mntent.h usability... no
checking mntent.h presence... no
checking for mntent.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking for stdint.h... (cached) yes
checking stdio_ext.h usability... no
checking stdio_ext.h presence... no
checking for stdio_ext.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for working volatile... yes
checking for ptrdiff_t... yes
checking whether closedir returns void... no
checking whether gcc needs -traditional... no
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for getmntent in -lsun... no
checking for getmntent in -lseq... no
checking for getmntent in -lgen... no
checking for getmntent... no
checking whether lstat dereferences a symlink specified with a trailing slash... no
checking whether lstat accepts an empty string... no
checking whether lstat dereferences a symlink specified with a trailing slash... (cached) no
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for working strtod... yes
checking for vprintf... yes
checking for _doprnt... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for __argz_count... no
checking for __argz_next... no
checking for __argz_stringify... no
checking for endpwent... yes
checking for floor... yes
checking for ftruncate... yes
checking for getcwd... yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for getpass... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for localeconv... yes
checking for memmove... yes
checking for mempcpy... no
checking for memset... yes
checking for munmap... yes
checking for nl_langinfo... yes
checking for pow... yes
checking for select... yes
checking for setlocale... yes
checking for socket... yes
checking for sqrt... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtoul... yes
checking for mkdir... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for fallocate... no
checking for SYS_fallocate... no
checking for posix_fallocate... no
checking for msgfmt... /opt/local/bin/msgfmt
checking for gmsgfmt... /opt/local/bin/msgfmt
checking for xgettext... /opt/local/bin/xgettext
checking for msgmerge... /opt/local/bin/msgmerge
checking for library containing strerror... none required
checking whether we are using the GNU C Library 2.1 or newer... no
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... no
checking for shared library run path origin... done
checking for argz.h... (cached) no
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) no
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... yes
checking for fgets_unlocked... no
checking for getc_unlocked... yes
checking for getcwd... (cached) yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... (cached) no
checking for munmap... (cached) yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... (cached) yes
checking for stpcpy... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strtoul... (cached) yes
checking for tsearch... yes
checking for __argz_count... (cached) no
checking for __argz_stringify... (cached) no
checking for __argz_next... (cached) no
checking for iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 2.3, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... no
checking for autopoint... yes (0.17)
checking for requested languages... all
checking if the applications should be statically linked... no
checking for docdir... ${prefix}/share/doc/aMule-SVN
checking for SVNDATE... Thu Jun 12 07:01:45 CEST 2008
checking denoising level... 0
checking for a readline compatible library... -lreadline
checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking whether readline supports history... yes
checking history.h usability... no
checking history.h presence... no
checking for history.h... no
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking whether ccache support should be added... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/man/Makefile
config.status: creating intl/Makefile
config.status: creating src/Makefile
config.status: creating src/pixmaps/Makefile
config.status: creating src/pixmaps/flags_xpm/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/ec/Makefile
config.status: creating src/libs/ec/cpp/Makefile
config.status: creating src/libs/common/Makefile
config.status: creating src/utils/Makefile
config.status: creating src/utils/aLinkCreator/Makefile
config.status: creating src/utils/aLinkCreator/docs/Makefile
config.status: creating src/utils/aLinkCreator/src/Makefile
config.status: creating src/utils/cas/Makefile
config.status: creating src/utils/cas/docs/Makefile
config.status: creating src/utils/fileview/Makefile
config.status: creating src/utils/wxCas/Makefile
config.status: creating src/utils/wxCas/docs/Makefile
config.status: creating src/utils/wxCas/src/Makefile
config.status: creating src/utils/xas/Makefile
config.status: creating src/utils/xas/autostart-xas
config.status: creating src/utils/xas/docs/Makefile
config.status: creating src/skins/Makefile
config.status: creating src/webserver/Makefile
config.status: creating src/webserver/src/Makefile
config.status: creating src/webserver/default/Makefile
config.status: creating src/webserver/php-default/Makefile
config.status: creating src/webserver/chicane/Makefile
config.status: creating src/webserver/litoral/Makefile
config.status: creating unittests/Makefile
config.status: creating unittests/muleunit/Makefile
config.status: creating unittests/tests/Makefile
config.status: creating po/Makefile.in
config.status: creating Compilation.flags
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing denoiser commands


  Configure script has finished system check.

  Configured aMule SVN for 'i686-apple-darwin9.3.0'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed?                    /usr/local
  Should aMule be compiled with i18n support?                yes
  Should aMule be compiled in debug mode?                    yes
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               no
  Should aMule be compiled with UPnP support?                yes
  Should aMule be compiled with IP2country support?          no
  Should aMule monolithic application be built?              yes
  Should aMule daemon version be built?                      no
  Should aMule remote gui be built? (EXPERIMENTAL)           no
  Crypto++ library/headers style?                            installed

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 yes

  **** aMule WebServer ****
  Should aMule WebServer be built?                           yes

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        no
  Should aMuleLinkCreator for console (alcc) be built?       no

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  yes
  Should aMule GUI Statistics (wxCas) be built?              no

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          no
  Libraries aMule will use to build:
                                       wxWidgets             2.8.7 (mac,debug,static)
                                       crypto++              5.5.2 (installed, in /usr/local/cryptopp)
                                       regex                 system
                                       libintl               included
                                       libpng                1.2.23
                                       libgd                 Not detected
                                       zlib                  1.2.3
sh-3.2# make

Logged

scalimani

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 19
Re: Compling issue on 10.5 mac
« Reply #1 on: June 13, 2008, 01:06:10 AM »

Same error on Mac OSX 10.5.3 PPC with aMule 2.2.1 source code!
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Compling issue on 10.5 mac
« Reply #2 on: June 13, 2008, 09:08:20 AM »

Hi,

what version of libiconv do you use? Is there a more recent version available?
Logged

jchiar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: Compling issue on 10.5 mac
« Reply #3 on: June 13, 2008, 06:02:08 PM »

Hi I have


 port installed | grep libiconv


  libiconv @1.12_0 (active)

And that appears to be the latest..

Current Version:
1.12_0
Installed Versions:
1.12_0
Active Version:
1.12_0
Epoch:
0
Home Page:
http://www.gnu.org/software/libiconv/
Maintainers:
ryandesign
Port Directory:
textproc/libiconv
Categories:
textproc
Required Builds:
port:gperf
Variants:
disable_extra_encodings disable_utf8mac darwin_7 universal darwin_8 linux enable_cp932fix freebsd
A character-set conversion library which implements the iconv() API for dealing with unicode and other types of conversion.
Logged

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206
Re: Compling issue on 10.5 mac
« Reply #4 on: June 13, 2008, 11:17:22 PM »

Try to use:
CPPFLAGS="-I/opt/local/include" \
LDFLAGS="-L/opt/local/lib" \
./configure ...

Logged

jchiar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: Compling issue on 10.5 mac
« Reply #5 on: June 13, 2008, 11:47:50 PM »

Try to use:
CPPFLAGS="-I/opt/local/include" \
LDFLAGS="-L/opt/local/lib" \
./configure ...



Do you mean add this in the  .configure command>?
Logged

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206
Re: Compling issue on 10.5 mac
« Reply #6 on: June 14, 2008, 12:08:24 AM »

Try to use:
CPPFLAGS="-I/opt/local/include" \
LDFLAGS="-L/opt/local/lib" \
./configure ...



Do you mean add this in the  .configure command>?

Yes:

If  a  \<newline>  pair  appears, and the backslash is not
itself quoted, the \<newline> is treated as a line  continuation  (that
is, it is removed from the input stream and effectively ignored).

So I intend:
CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" ./configure --your options...

Code: [Select]
Some influential environment variables:
  CXX         C++ compiler command
  CXXFLAGS    C++ compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
              headers in a nonstandard directory <include dir>
  CXXCPP      C++ preprocessor
  CC          C compiler command
  CFLAGS      C compiler flags
  CPP         C preprocessor
  RC          Resource Compiler
  RCFLAGS     Resource Compiler Flags

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

See here for my build script:
http://gtoso.tor.it/pub/amule/osx/svn/src/amule-uni.OSXBuild
Logged

greek

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 128
Re: Compling issue on 10.5 mac
« Reply #7 on: June 14, 2008, 04:01:35 AM »

I don't know if it helps but when you compile wxMac you need to add --with-libiconv-prefix=<path to libiconv>
It seems that both wxMac and aMule use libiconv. If you install libiconv via macports (port install libiconv) then add
--with-libiconv-prefix=/opt/local
I hope this helps.
Logged

jchiar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: Compling issue on 10.5 mac
« Reply #8 on: June 14, 2008, 04:08:10 AM »

Ill try this. I set those variable and that didnt seem to change anything.
Logged

jchiar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: Compling issue on 10.5 mac
« Reply #9 on: June 14, 2008, 04:41:01 AM »

Well, it ran furthur. Now I get stuck at this part of the make

framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime  /Users/joe/Desktop/wxMac-2.8.7/build/lib/libwx_base_carbonud_net-2.8.a /Users/joe/Desktop/wxMac-2.8.7/build/lib/libwx_base_carbonud-2.8.a -lwxregexud-2.8 -lwxtiffd-2.8 -lwxjpegd-2.8 -lwxpngd-2.8 -lz -lpthread -liconv  -lz -lreadline -lpng12    ../../../intl/libintl.a -liconv
Undefined symbols:
  "_iconv_open", referenced from:
      __nl_init_domain_conv in libintl.a(loadmsgcat.o)
      __nl_init_domain_conv in libintl.a(loadmsgcat.o)
  "_iconv_close", referenced from:
      __nl_free_domain_conv in libintl.a(loadmsgcat.o)
  "_iconv", referenced from:
      __nl_find_msg in libintl.a(dcigettext.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [amuleweb] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
sh-3.2#

thanks
Logged

jchiar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: Compling issue on 10.5 mac
« Reply #10 on: June 14, 2008, 04:46:34 AM »

looks like its stuck in compiling it with "libintl" maybe?

Libraries aMule will use to build:
                                       wxWidgets             2.8.7 (mac,debug,static)
                                       crypto++              5.5.2 (installed, in /usr/local/cryptopp)
                                       regex                 system
                                       libintl               included
                                       libpng                1.2.29beta03
                                       libgd                 Not detected
                                       zlib                  1.2.3

any ideas?
Logged

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206
Re: Compling issue on 10.5 mac
« Reply #11 on: June 14, 2008, 12:00:35 PM »

looks like its stuck in compiling it with "libintl" maybe?

Libraries aMule will use to build:
                                       wxWidgets             2.8.7 (mac,debug,static)
                                       crypto++              5.5.2 (installed, in /usr/local/cryptopp)
                                       regex                 system
                                       libintl               included
                                       libpng                1.2.29beta03
                                       libgd                 Not detected
                                       zlib                  1.2.3

any ideas?


Try to install gettext,
from my configure log:
Code: [Select]
...
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
...
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... yes
checking how to link with libintl... /opt/local/lib/libintl.dylib /opt/local/lib
/libiconv.dylib -lc
...
  Libraries aMule will use to build:
                                       wxWidgets             2.8.7 (mac,static)
                                       crypto++              5.5.2 (installed, i
n /opt/local)
                                       regex                 system
                                       libintl               system
                                       libpng                1.2.29beta03
                                       libgd                 2.0.35
                                       zlib                  1.2.3


Logged

jchiar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: Compling issue on 10.5 mac
« Reply #12 on: June 15, 2008, 02:46:40 AM »

It seems installed

sh-3.2# port installed
The following ports are currently installed:
  autoconf @2.62_0 (active)
  automake @1.10.1_0 (active)
  docbook-xml-4.2 @4.2_0 (active)
  docbook-xsl @1.73.2_0 (active)
  expat @2.0.1_0 (active)
  flex @2.5.35_0 (active)
  freetype @2.3.5_0
  freetype @2.3.5_1 (active)
  getopt @1.1.4_1 (active)
 

but my configure log shows this

checking whether included gettext is requested... no
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... no
checking for autopoint... yes (0.17)
checking for requested languages... all


And why does your log say

         libintl               system

system, when mine says installed?



Logged

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206
Re: Compling issue on 10.5 mac
« Reply #13 on: June 15, 2008, 04:16:33 AM »

It seems installed

sh-3.2# port installed
The following ports are currently installed:
  autoconf @2.62_0 (active)
  automake @1.10.1_0 (active)
  docbook-xml-4.2 @4.2_0 (active)
  docbook-xsl @1.73.2_0 (active)
  expat @2.0.1_0 (active)
  flex @2.5.35_0 (active)
  freetype @2.3.5_0
  freetype @2.3.5_1 (active)
  getopt @1.1.4_1 (active)
 
I don't see gettext,
you may try configure with:
--with-included-gettext
or install gettext with MacPorts

I have these ports installed:

super:~ gtoso$ port installed
The following ports are currently installed:
  bzip2 @1.0.5_1+universal (active)
  cryptlib @3.3.1_0 (active)
  dd_rescue @1.14_0 (active)
  expat @2.0.1_0+universal (active)
  fontconfig @2.6.0_0+macosx+universal (active)
  freetype @2.3.5_1+universal (active)
  gd2 @2.0.35_1+no_x11+universal (active)
  gettext @0.17_3+universal (active)

  gnupg @1.4.9_0+idea (active)
  gperf @3.0.3_0 (active)
  jpeg @6b_2+universal (active)
  libcryptopp @5.5.2_0+universal (active)
  libgeoip @1.4.4_0+universal (active)
  libiconv @1.12_0+darwin_8+universal (active)

  libogg @1.1.3_2+universal (active)
  libpcap @0.9.8_0 (active)
  libpng @1.2.29_0+universal (active)
  libsdl @1.2.13_2+darwin_8+universal (active)
  libvorbis @1.2.0_1+universal (active)
  links @2.1pre36_0+universal (active)
  ncurses @5.6_0+darwin_8+universal (active)
  ncursesw @5.6_1+universal (active)
  nmap @4.60_0 (active)
  openssl @0.9.8h_0+universal (active)
  pcre @7.7_0+universal (active)
  pkgconfig @0.23_0+universal (active)
  pwgen @2.06_1+universal (active)
  readline @5.2.012_1+universal (active)
  secpwgen @1.3_0 (active)
  tiff @3.8.2_2+macosx+universal (active)
  wget @1.11.3_1+universal (active)
  zlib @1.2.3_1+universal (active)
super:~ gtoso$
« Last Edit: June 15, 2008, 04:23:10 AM by gtoso »
Logged

jchiar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
Re: Compling issue on 10.5 mac
« Reply #14 on: June 15, 2008, 05:54:22 AM »

Look like my paste wasnt complete.
Here is my macport s with revs..The following ports are currently installed:
  autoconf @2.62_0 (active)
  automake @1.10.1_0 (active)
  docbook-xml-4.2 @4.2_0 (active)
  docbook-xsl @1.73.2_0 (active)
  expat @2.0.1_0 (active)
  flex @2.5.35_0 (active)
  freetype @2.3.5_0
  freetype @2.3.5_1 (active)
  getopt @1.1.4_1 (active)
  gettext @0.17_3 (active)
  gperf @3.0.3_0 (active)
  help2man @1.36.4_1 (active)
  jpeg @6b_2 (active)
  legoctl @0.2_0 (active)
  libiconv @1.12_0 (active)
  libogg @1.1.3_2 (active)
  libpng @1.2.23_0+darwin_8
  libpng @1.2.29_0 (active)
  libsdl @1.2.12_0+darwin_8
  libsdl @1.2.13_2+darwin_8 (active)
  libsdl_image @1.2.6_2 (active)
  libsdl_mixer @1.2.8_0 (active)
  libsdl_ttf @2.0.9_0 (active)
  libusb @0.1.12_1 (active)
  libvorbis @1.2.0_0
  libvorbis @1.2.0_1 (active)
  libxml2 @2.6.32_0 (active)
  libxslt @1.1.23_0 (active)
  libzzip @0.13.38_0
  libzzip @0.13.49_0 (active)
  m4 @1.4.11_0 (active)
  ncurses @5.6_0 (active)
  ncursesw @5.6_1 (active)
  p5-locale-gettext @1.05_0 (active)
  perl5.8 @5.8.8_2+darwin_9 (active)
  pkgconfig @0.22_0
  pkgconfig @0.23_0 (active)
  SDLInvaders @0.8.0_0 (active)
  smpeg @0.4.4_6+darwin_8 (active)
  tiff @3.8.2_1+darwin_8+macosx
  tiff @3.8.2_2+darwin_9+macosx (active)
  xmlcatmgr @2.2_1 (active)
  xmlto @0.0.18_3 (active)
  zlib @1.2.3_1 (active)

Logged
Pages: [1] 2