aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: compiling aMule CVS on mac g4  (Read 6605 times)

harlock59

  • Approved Newbie
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 49
    • Youmé-TECH - PC Mac Linux Troubleshootings & Website / Software Developper
compiling aMule CVS on mac g4
« on: March 04, 2008, 05:56:17 PM »

hi everyone,

i tried to compile aMule CVS under Leopard with XCode 3 installed.

i succeeded compiling "Crypto++552", "wxMac", but not "aMule CVS",
i got this:
 ./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-cryptopp=/usr/local/cryptopp


checking build system type... powerpc-apple-darwin9.2.0
checking host system type... powerpc-apple-darwin9.2.0
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 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 libpng-config... /opt/local/bin/libpng-config
checking for libpng version >= 1.2.0... yes (version 1.2.24)
checking for File::Copy... ok
checking whether we need the GUI... no
checking for exception-handling... 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 that wxWidgets has support for large files... yes
checking for crypto++ version >= 5.1... configure: error:
   Specifying the cryptopp source files directory for "--with-crypto-prefix="
   will not work because cryptopp uses headers with the same name of system
   headers (e.g. zlib.h) and you must be able to distinguish the system
   headers from cryptopp headers in an #include directive.
   Please run "PREFIX=/home/YourUserName/usr/cryptopp make install" on
   the cryptopp directory to properly install cryptopp in your system.

and then:
"make"
make: *** No targets specified and no makefile found.  Stop.
emac-bureau:amule-cvs maitedx$

Thanks for any further help.
Logged
iMac g4 leopard powerpc
www.youmetech.fr

harlock59

  • Approved Newbie
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 49
    • Youmé-TECH - PC Mac Linux Troubleshootings & Website / Software Developper
Re: compiling aMule CVS on mac g4
« Reply #1 on: March 04, 2008, 05:57:35 PM »

i have these installed thru Macports

port installed
The following ports are currently installed:
  autoconf @2.61_1 (active)
  automake @1.10.1_0 (active)
  expat @2.0.1_0 (active)
  flex @2.5.34_0 (active)
  gettext @0.17_3 (active)
  help2man @1.36.4_1 (active)
  libiconv @1.12_0 (active)
  libpng @1.2.24_0 (active)
  libtool @1.5.24_1 (active)
  m4 @1.4.10_1 (active)
  ncurses @5.6_0 (active)
  ncursesw @5.6_1 (active)
  p5-locale-gettext @1.05_0 (active)
  perl5.8 @5.8.8_1 (active)
  zlib @1.2.3_1 (active)
Logged
iMac g4 leopard powerpc
www.youmetech.fr

harlock59

  • Approved Newbie
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 49
    • Youmé-TECH - PC Mac Linux Troubleshootings & Website / Software Developper
Re: compiling aMule CVS on mac g4
« Reply #2 on: March 04, 2008, 06:06:57 PM »

i just went to "http://www.libgd.org/releases/"

i downloaded and unzipped "gd-2.0.36RC1".

i went to this folder from the terminal and typed "./configure" and then "make"
Logged
iMac g4 leopard powerpc
www.youmetech.fr

harlock59

  • Approved Newbie
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 49
    • Youmé-TECH - PC Mac Linux Troubleshootings & Website / Software Developper
Re: compiling aMule CVS on mac g4
« Reply #3 on: March 04, 2008, 06:16:57 PM »

after retrying to ./configure aMule-cvs,
i got this again:

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.

i've done a search from the Finder and found that the gdlib-config was there: ~/Desktop/gd-2.0.36RC1/config/gdlib-config

could anyone remind me how to setup the variable ?

thanks.
Logged
iMac g4 leopard powerpc
www.youmetech.fr

harlock59

  • Approved Newbie
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 49
    • Youmé-TECH - PC Mac Linux Troubleshootings & Website / Software Developper
Re: compiling aMule CVS on mac g4
« Reply #4 on: March 04, 2008, 06:18:25 PM »

here is my last ./configure of aMule-CVS

checking for gdlib-config... /Users/maitedx/Desktop/gd-2.0.36RC1/config/gdlib-config
checking for gdlib version >= 2.0.0... yes (version 2.0.36)
checking gd.h usability... no
checking gd.h presence... no
checking for gd.h... 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 libpng-config... /opt/local/bin/libpng-config
checking for libpng version >= 1.2.0... yes (version 1.2.24)
checking for File::Copy... ok
checking whether we need the GUI... no
checking for exception-handling... 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 that wxWidgets has support for large files... yes
checking for crypto++ version >= 5.1... configure: error:
   Specifying the cryptopp source files directory for "--with-crypto-prefix="
   will not work because cryptopp uses headers with the same name of system
   headers (e.g. zlib.h) and you must be able to distinguish the system
   headers from cryptopp headers in an #include directive.
   Please run "PREFIX=/home/YourUserName/usr/cryptopp make install" on
   the cryptopp directory to properly install cryptopp in your system.
emac-bureau:amule-cvs maitedx$

« Last Edit: March 04, 2008, 07:12:13 PM by harlock59 »
Logged
iMac g4 leopard powerpc
www.youmetech.fr

harlock59

  • Approved Newbie
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 49
    • Youmé-TECH - PC Mac Linux Troubleshootings & Website / Software Developper
Re: compiling aMule CVS on mac g4
« Reply #5 on: March 04, 2008, 07:12:52 PM »

please, how to change these:

checking gd.h usability... no
checking gd.h presence... no
checking for gd.h... no
Logged
iMac g4 leopard powerpc
www.youmetech.fr

harlock59

  • Approved Newbie
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 49
    • Youmé-TECH - PC Mac Linux Troubleshootings & Website / Software Developper
Re: compiling aMule CVS on mac g4
« Reply #6 on: March 04, 2008, 07:20:04 PM »

here is my config.log for gd-lib only
Logged
iMac g4 leopard powerpc
www.youmetech.fr

harlock59

  • Approved Newbie
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 49
    • Youmé-TECH - PC Mac Linux Troubleshootings & Website / Software Developper
Re: compiling aMule CVS on mac g4
« Reply #7 on: March 04, 2008, 07:23:35 PM »

i have a gd.h file @ ~/Desktop/gd-2.0.36RC1/gd.h
but it is not found by the ./configure
Logged
iMac g4 leopard powerpc
www.youmetech.fr

harlock59

  • Approved Newbie
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 49
    • Youmé-TECH - PC Mac Linux Troubleshootings & Website / Software Developper
Re: compiling aMule CVS on mac g4
« Reply #8 on: March 04, 2008, 07:32:37 PM »

when i tried to ./configure aMule-CVS like this:

./configure --with-included-gettext

i had not anymore the gd.h errors,

but i still have the cryptopp error:

checking for crypto++ version >= 5.1... configure: error:
   Specifying the cryptopp source files directory for "--with-crypto-prefix="
   will not work because cryptopp uses headers with the same name of system
   headers (e.g. zlib.h) and you must be able to distinguish the system
   headers from cryptopp headers in an #include directive.
   Please run "PREFIX=/home/YourUserName/usr/cryptopp make install" on
   the cryptopp directory to properly install cryptopp in your system.

so i tried this:
PREFIX=~/usr/cryptopp make install
and got this:
make: *** No rule to make target `install'.  Stop.
Logged
iMac g4 leopard powerpc
www.youmetech.fr

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: compiling aMule CVS on mac g4
« Reply #9 on: March 08, 2008, 01:04:15 AM »

i succeeded compiling "Crypto++552", "wxMac", but not "aMule CVS",
   Please run "PREFIX=/home/YourUserName/usr/cryptopp make install" on
   the cryptopp directory to properly install cryptopp in your system.

1. Go to the directory where you compiled crypto++
2. Run the command mentioned in the error message
3. Configure aMule with --with-crypto-prefix=<the path you used in step 2>
Logged
concordia cum veritate

harlock59

  • Approved Newbie
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 49
    • Youmé-TECH - PC Mac Linux Troubleshootings & Website / Software Developper
Re: compiling aMule CVS on mac g4
« Reply #10 on: May 08, 2008, 07:02:35 PM »

Hello, i'm sorry to have multiposted (hopefully i used the same topic...)

does anyone has a precompiled version of aMule cvs for powerpc under tiger or leopard ?, or if i rephrase my expectancy, i would like to know which is the most lightweight edonkey client for mac os x ? because i tried aMule 2.1.3 and wanted to try to compile it (i even translated the french wiki compiling aMule for mac os x), but followed the steps and didn't succeed). My mac is a power pc g4 @ 1,25 GHz and aMule either crashes or (most of the time) is very slow to make move i mean when i try to change of tab or whatever, i can't use it because it is so slow.
i have 1 Gb of ram on this eMac G4.

i hope to get answers, but my new request is not anymore in the right place i think.

if my english is inaccurate, it's because i'm french....
Logged
iMac g4 leopard powerpc
www.youmetech.fr

eisa01

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 100
Re: compiling aMule CVS on mac g4
« Reply #11 on: May 10, 2008, 10:25:30 PM »

Check in the Mac OS X  subforum for threads with precompiled binaries.

Although, on a G4 you might have better luck with mlDonkey, depending on how many downloads/sources you have active.

You can check it out with xDonkey here: http://rapidshare.com/files/113977708/xDonkey156.dmg.html
I've uploaded the file, as they don't seem to have a homepage.


Logged