Anyone here with a Mac?
Page 1 of 1
Shocktrooper




Posts: 4560

PostPosted: Wed, 6th Sep 2006 17:37    Post subject: Anyone here with a Mac?
Oi, I'm desperately trying to compile this program on my Mac but it keeps getting stuck when in ./configure checking for g++/vector usability. My friend usually helps me with that stuff but since hes on vacation and won't come back that soon I need a precompiled mac binary pronto! I successfully compiled it on linux but logically the formats arent compatible.
So..if anyone here has access to a Mac and can compile it and upload the compiled binary somewhere...I would be really thankful!
Back to top
[sYn]
[Moderator] Elitist



Posts: 8374

PostPosted: Thu, 7th Sep 2006 00:29    Post subject:
You should try getting a pre-compiled binary for BSD or another unix platform, that has a decent chance of working. Macs run unix, not linux Wink.

If you post the configure error I may be able to help.
Back to top
Shocktrooper




Posts: 4560

PostPosted: Thu, 7th Sep 2006 10:00    Post subject:
Code:

./configure
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 if the compiler supports function prototypes... yes
checking build system type... powerpc-apple-darwin7.9.0
checking host system type... powerpc-apple-darwin7.9.0
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking for ranlib... ranlib
checking whether make sets ${MAKE}... yes
checking for false... /usr/bin/false
checking for true... /usr/bin/true
checking for rm... /bin/rm
checking for ln... /bin/ln
checking for tar... /usr/bin/tar
checking for ar... /usr/bin/ar
checking for make... /usr/bin/make
checking for cpp... /usr/bin/cpp
checking for mv... /bin/mv
checking for mkdir... /bin/mkdir
checking for cp... /bin/cp
checking for a BSD-compatible install... /usr/bin/install -c
checking for inflate in -lz... yes
checking for floor in -lm... yes
checking for pthread_create in -lpthread... yes
checking for gethostent... yes
checking for setsockopt... yes
checking for connect... yes
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... 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/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working memcmp... yes
checking for gethostname... yes
checking for select... yes
checking for socket... yes
checking for strerror... yes
checking for strsignal... yes
checking for getopt_long... yes
checking /include/g++/vector usability...


and then stuck

Code:

on 2nd mac:
checking /include/g++/vector usability... no
checking /include/g++/vector presence... no
checking for /include/g++/vector... no
checking /include/libxml2/libxml/tree.h usability... no
checking /include/libxml2/libxml/tree.h presence... no
checking for /include/libxml2/libxml/tree.h... no

and it exits


The program is really a bitch - I already tried to compile it on FreeBSD 4.11, 2 Macs, even SunOS and 3 linuxes and it only worked on one (gentoo). But as soon as compiled once, it also worked on the other 2.
I googled for precompiled binaries but no results. (I dont even find binaries for linux, lol)
I posted the same question to other boards and always got the same answer: "upgrade this bla bla upgrade that bla bla" but I already tried that w/o success and I'm not interested in studying the problem for days until I *may* find a solution. I just want the damn 2.66mb binary because I know it WILL WORK. There are like 10 million people with Macs in America and at least one gotta be able to help me. Rolling Eyes
Back to top
[sYn]
[Moderator] Elitist



Posts: 8374

PostPosted: Thu, 7th Sep 2006 14:36    Post subject:
Yeah those 10 million people are sat shouting "OOO PRETTY ICONS"..

Firstly, go to the website below and install libxml2

http://www.explain.com.au/oss/libxml2xslt.html

That is the issue with the seccond mac and could very well be the issue with the first too as they both seem to kick out at around the same time. You should also check you have the latest version of libg++ as that contains /vector in its package.. let me know how you get one once the above is done.
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Operating Systems
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group