port install pcre problem
#1
Hi,

hope, someone is willing to help here.

I did an svn checkout of the current sources and tried to setup the development environment as described in the current readme.OSX

unfortunatelly i got stuck with installing the first port package:

sudo port install pcre +universal---> Configuring ncursesw---> Configuring ncursesw for architecture i386
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncursesw/work/ncurses-5.7-i386" && ./configure --prefix=/opt/local --enable-widec --disable-rpath --with-shared --without-debug --without-ada --enable-safe-sprintf --enable-sigwinch --mandir=/opt/local/share/man --with-manpage-format=normal --disable-dependency-tracking " returned error 1
Command output: checking for egrep... grep -E
Configuring NCURSES 5.7 ABI 5 (Thu Mar 26 21:39:07 CET 2009)
checking build system type... i386-apple-darwin9.6.0
checking host system type... i386-apple-darwin9.6.0
checking target system type... i386-apple-darwin9.6.0
Configuring for darwin9.6.0
checking for prefix... /opt/local
checking for gcc... /usr/bin/gcc-4.0 -m32
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 /usr/bin/gcc-4.0 -m32 accepts -g... yes
checking version of /usr/bin/gcc-4.0 -m32... 4.0.1
checking how to run the C preprocessor... /usr/bin/cpp-4.0
configure: error: C preprocessor "/usr/bin/cpp-4.0" fails sanity check

Error: The following dependencies failed to build: readline ncurses ncursesw
Error: Status 1 encountered during processing.

xcode 3.1.2 and macports 1.7 installed without a problem, also i followed the guide step by step.
I really do not know whats goning wrong. Anybody an idea?

Thanks,

TvonT
Reply
#2
Is /Developer/SDKs/MacOSX10.4u.sdk present?

pastebin /opt/local/etc/macports/macports.conf

Is this a fresh MacPorts install?

pastebin the output of

sudo port -dv install pcre +universal
Reply
#3
10.4u sdk is present.

http://pastebin.ca/1376023

and

http://pastebin.ca/1376039

In the meantime I switched back to 10.5 sdk. Here I had no problems to install pcre - so I am not sure if the second output reflects the former error.

I would like to build using the 10.4 sdk - how can I switch back to it?

and i run into a new problem using 10.5sdk installing libcdio, here the pastebin debug output of port install:

http://pastebin.ca/1376085


Thanks for your help, davilla!
Reply
#4
davilla Wrote:Is /Developer/SDKs/MacOSX10.4u.sdk present?

pastebin /opt/local/etc/macports/macports.conf

Is this a fresh MacPorts install?

pastebin the output of

sudo port -dv install pcre +universal

in your macports.conf;

it's "universal_sysroot /Developer/SDKs/MacOSX10.4u.sdk"

not "universal_sysroot /Developer/SDKs/MacOSX10.4.sdk"

need the "u" Smile
Reply
#5
Thanks! That helped me out of the 10.4 problem...but I still cannot install libcdio:

http://pastebin.ca/1376085

Any ideas?

Many thanks for your help!
Reply
#6
tvont Wrote:Thanks! That helped me out of the 10.4 problem...but I still cannot install libcdio:

http://pastebin.ca/1376085

Any ideas?

Many thanks for your help!

pastebin has "-isysroot /Developer/SDKs/MacOSX10.5.sdk -O2 -isysroot /Developer/SDKs/MacOSX10.5.sdk"

which means your macports.conf is still not correct as it's using the 10.5sdk for +universal.
Reply
#7
Big Grin cleaned up the previously - with sdk 10.5 - compiled libs, started fresh with the first one with 10.4u and: worked fine!

Hope XBMC compiles well too.

Thanks for your help!
Reply

Logout Mark Read Team Forum Stats Members Help
port install pcre problem0