mldonkey-users
[Top][All Lists]
Advanced

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

[Mldonkey-users] [patch #4883] Mac OS X: Fix for broken Apple cpp


From: ditfau6
Subject: [Mldonkey-users] [patch #4883] Mac OS X: Fix for broken Apple cpp
Date: Fri, 10 Feb 2006 11:06:52 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; fr) AppleWebKit/420+ (KHTML, like Gecko) Safari/417.8

Follow-up Comment #5, patch #4883 (project mldonkey):

You are right spiralvoice $host it is appropriate, sorry for this
inconvenient.

This little modification seem good in 'configure'.in, no !

 if [ test "$SYSTEM" = "freebsd"] || [ test "$SYSTEM" = "darwin"] || [ test
"$SYSTEM" = "netbsd"]; then
+ if [ test "$SYSTEM" = "freebsd"] || [ test "$SYSTEM" = "macosx"] || [ test
"$SYSTEM" = "netbsd"]; then SCM_VERSION=`$STAT -f "%Sm" ./CVS/Entries | $SED
-e 's/\(.*\) \(.*\) \(.*\) \(.*\)/\4-\1-\2 \3/'`


I post my ./configure ..... and make depend

/sw/bin/autoconf-2.59
Running Autoconf (autoconf-2.59)...
Running m4 to generate Makefile...
Arguments to configure: --enable-pthread --enable-checks --enable-filetp
--enable-bittorrent --disable-multinet
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking build system type... powerpc-apple-darwin8.4.0
checking host system type... powerpc-apple-darwin8.4.0
checking for sed... sed
configure: checking CVS checkout date
checking for stat... stat
checking for sed... (cached) sed
checking for cut... cut
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for ranlib... ranlib
checking for gmake... no
checking for make... make
checking if make is GNU make ... yes
checking for ocamlc.opt...
/Users/guido/Documents/compile/ocaml-3.09.1-10.3.9-gcc3.3/bin/ocamlc.opt
checking for ocamlc...
/Users/guido/Documents/compile/ocaml-3.09.1-10.3.9-gcc3.3/bin/ocamlc.opt
checking for rpmbuild... no
checking for rpm... no
checking for wget... wget
checking for ocamlopt.opt... ocamlopt.opt
checking for ocamlopt... (cached) ocamlopt.opt
checking for ocamldep... ocamldep
checking for ocamllex.opt... ocamllex.opt
checking for ocamllex... (cached) ocamllex.opt
checking for ocamlyacc... ocamlyacc
checking for ocamldoc... ocamldoc
checking for ocamlmktop... ocamlmktop
checking for camlp4... camlp4
checking for perl... /usr/bin/perl
checking for egrep... grep -E
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 int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for void *... yes
checking size of void *... 4
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking for setrlimit... yes
checking for getrlimit... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... yes
checking for sys/resource.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/in.h... yes
checking for netinet/ip.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for poll... yes
checking sys/vfs.h usability... no
checking sys/vfs.h presence... no
checking for sys/vfs.h... no
checking for sys/param.h... yes
checking for sys/mount.h... yes
checking for inflate in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for zlibVersion in -lz... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for BZ2_bzReadOpen in -lbz2... yes
checking for BZ2_bzlibVersion in -lbz2... yes
checking byteswap.h usability... no
checking byteswap.h presence... no
checking for byteswap.h... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for locale_charset... yes
checking for locale_charset in -lcharset... yes
checking libcharset.h usability... yes
checking libcharset.h presence... yes
checking for libcharset.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
configure: checking for activated networks
checking eDonkey... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for g++... g++
checking eMule SUI... yes
checking BitTorrent... yes
checking FileTP... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for cc_r... gcc
checking IM... yes
checking for bzip2... bzip2
checking for gzip... (cached) bzip2
checking for gdlib-config... gdlib-config
checking for libgd > 2.0.14... 2.0.33
checking for gdImageCreate in -lgd... yes
checking for png_create_read_struct  in -lpng... yes
checking for gdImagePng in -lgd... yes
checking for png support in libgd... yes
checking for png_access_version_number in -lpng... yes
checking for jpeg_CreateCompress in -ljpeg... yes
checking for gdImageJpeg in -lgd... yes
checking for jpeg support in libgd... yes
configure: creating ./config.status
config.status: creating Makefile.config
config.status: creating mldonkey.rc
config.status: creating ../src/utils/lib/autoconf.ml.new
config.status: creating ../src/utils/lib/gAutoconf.ml.new
config.status: creating ../src/networks/donkey/donkeySui.ml
config.status: creating ../src/daemon/driver/driverGraphics.ml
config.status: creating ../packages/rpm/mldonkey.spec
config.status: creating ../packages/rpm/Makefile
config.status: creating ../packages/slackware/mldonkey.options
config.status: creating ../packages/windows/mlnet.nsi
config.status: creating config.h

Building dependencies (if it blocks, try 'make depend' to see the problem)

Configuring MLDonkey 2.7.3.CVS - SCM: 2006-Feb -9 17:35:36 completed.

Network modules:
 - eDonkey           enabled (eMule SUI enabled)
 - BitTorrent        enabled
 - FileTP (aka wget) enabled
 - Fasttrack                 disabled
 - Gnutella                  disabled
 - Gnutella2                 disabled
 - Open Napster              disabled - currently not usable
 - Direct Connect            disabled - currently not usable
 - Soulseek                  disabled - currently not usable
 - OpenFT                    disabled - currently not usable

Core features:
 - threads           enabled
 - zlib              enabled
 - bzip2             enabled
 - iconv             enabled
 - graphical stats   enabled
   - png support     enabled
   - jpg support     enabled

Compilers:
 - Ocaml version     3.09.1
 - gcc version       3.3
 - g++ version       3.3

Now execute 'make' to start compiling. Good luck!

To compile a static code execute:     make mlnet.static
To produce a release tarball execute: make release.mlnet.static
To clean the build directory execute: make maintainerclean

Compiling CryptoPP.cc can take several minutes, on slow machines up to half
an hour.
[G4:~/Documents/compile/mldonkey] guido% make depend
ocamldep    -I src/utils/cdk  -I src/daemon/chat  -I src/gtk/chat  -I
src/utils/lib  -I src/utils/ocamlrss  -I src/utils/xml-light  -I
src/utils/net  -I tools  -I src/daemon/common  -I src/daemon/driver  -I
src/utils/mp3tagui  -I src/config/unix  -I src/networks/fileTP  -I
src/networks/bittorrent  -I src/networks/donkey *.ml *.mli > .depend
(for i in src/utils/cdk src/daemon/chat src/gtk/chat src/utils/lib
src/utils/ocamlrss src/utils/xml-light src/utils/net tools src/daemon/common
src/daemon/driver src/utils/mp3tagui src/config/unix  src/networks/fileTP
src/networks/bittorrent src/networks/donkey; do \
        ocamldep    -I src/utils/cdk  -I src/daemon/chat  -I src/gtk/chat  -I
src/utils/lib  -I src/utils/ocamlrss  -I src/utils/xml-light  -I src/utils/net
 -I tools  -I src/daemon/common  -I src/daemon/driver  -I src/utils/mp3tagui 
-I src/config/unix  -I src/networks/fileTP  -I src/networks/bittorrent  -I
src/networks/donkey $i/*.ml $i/*.mli  >> .depend; \
        ./ocamlpp.byte $i/*.mlt  >> .depend; \
done)
File "src/utils/cdk/tar.mlcpp", line 1, characters 12-25:
Syntax error
File "src/utils/lib/misc2.mlcpp", line 1, characters 12-25:
Syntax error
if test "no" = "newgui2"; then \
        make svg_converter.byte; \
fi

                        

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=4883>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

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