Opened 18 years ago

Closed 18 years ago

#10873 closed defect (fixed)

upgrade/install php5

Reported by: joachimvdh@… Owned by: yeled@…
Priority: High Milestone:
Component: ports Version:
Keywords: Cc: markd@…
Port:

Description

first i wanted to upgrade my php5 +apache2 +mysql4 +darwin_8, then i cleaned port php5 , tried again , cleaned all , tried again, uninstalled the port and tried to install fresh, still i'm getting the same error :

Macbook-Pro:~ joachim$ sudo port install php5 +apache2 +mysql4 +darwin_8 ---> Fetching php5 ---> Verifying checksum(s) for php5 ---> Extracting php5 ---> Configuring php5 Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_php5/work/php-5.1.6" && CFLAGS=-I/opt/local/include/c-client CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 ./configure --prefix=/opt/local --mandir=/opt/local/share/man --infodir=/opt/local/share/info --with-config-file-path=/opt/local/etc --enable-calendar --with-iconv=/opt/local --enable-exif --enable-ftp --enable-wddx --with-zlib=/opt/local --with-libxml-dir=/opt/local --with-gettext=/opt/local --with-libxml-dir=/opt/local --with-xml --with-expat-dir=/opt/local --with-xmlrpc --enable-filepro --enable-bcmath --enable-trans-sid --enable-mbstring --enable-dbx --enable-dba --with-openssl=/opt/local --with-mhash=/opt/local --with-mcrypt=/opt/local --with-tidy=/opt/local --with-xsl=/opt/local --with-imap=/opt/local --with-imap-ssl=/opt/local --with-curl=/opt/local --with-gd --with-jpeg-dir=/opt/local --with-png-dir=/opt/local --enable-gd-native-ttf --with-freetype-dir=/opt/local --enable-sqlite-utf8 --with-ldap=/usr --with-kerberos=/usr --with-iodbc=/usr --with-apxs2=/opt/local/apache2/bin/apxs --with-mysql=/opt/local --with-pdo-mysql=/opt/local" returned error 1 Command output: shtool:echo:Warning: unable to determine terminal sequence for bold mode shtool:echo:Warning: unable to determine terminal sequence for bold mode checking for gcc... /usr/bin/gcc-4.0 checking whether the C compiler (/usr/bin/gcc-4.0 -I/opt/local/include/c-client ) works... yes checking whether the C compiler (/usr/bin/gcc-4.0 -I/opt/local/include/c-client ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether /usr/bin/gcc-4.0 accepts -g... yes checking whether /usr/bin/gcc-4.0 and cc understand -c and -o together... yes checking how to run the C preprocessor... /usr/bin/cpp-4.0 checking for AIX... no checking whether ln -s works... yes checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... no checking for re2c... no configure: warning: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers. checking for gawk... no checking for nawk... no checking for awk... awk checking if awk is broken... no checking for bison... bison -y checking for bison version... 1.28 (ok) checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... dyld: Library not loaded: /opt/local/lib/libintl.3.dylib

Referenced from: /opt/local/bin/flex Reason: image not found

./configure: line 3301: 8946 Done echo '%% %%'

8947 Trace/BPT trap | $LEX

configure: error: cannot find output from flex; giving up

Error: Status 1 encountered during processing. Macbook-Pro:~ joachim$

Change History (2)

comment:1 Changed 18 years ago by markd@…

Cc: markd@… added

It looks like you may have ypgraded getext gettext from 0.14.x to 0.15.x. You'll need to rebuild ports that depend on gettext also. See if this helps.

http://trac.macosforge.org/projects/macports/wiki/ProblemHotlist

comment:2 Changed 18 years ago by markd@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.