BUG: expat fails to build
Reported by: |
lrivers@… |
Owned by: |
blb@… |
Priority:
|
Normal
|
Milestone:
|
|
Component:
|
ports
|
Version:
|
1.0
|
Keywords:
|
|
Cc:
|
|
Port:
|
|
|
|
When I attempt to build expat, it fails
AlBook:~ lrivers$ sudo port -dv install expat
DEBUG: Found port in file:///opt/local/var/db/dports/sources/
rsync.rsync.opendarwin.org_dpupdate_dports/textproc/expat
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/
rsync.rsync.opendarwin.org_dpupdate_dports/textproc/expat
DEBUG: Requested variant powerpc is not provided by port expat.
DEBUG: Requested variant darwin is not provided by port expat.
DEBUG: Requested variant macosx is not provided by port expat.
DEBUG: Executing com.apple.main (expat)
DEBUG: No TGZ archive: /opt/local/var/db/dports/packages/darwin/powerpc/
expat-1.95.8_1.powerpc.tgz
DEBUG: Skipping unarchive (expat) since no archive found
DEBUG: Skipping completed com.apple.unarchive (expat)
---> Fetching expat
DEBUG: Executing com.apple.fetch (expat)
---> Verifying checksum(s) for expat
DEBUG: Executing com.apple.checksum (expat)
---> Checksumming expat-1.95.8.tar.gz
DEBUG: Correct (md5) checksum for expat-1.95.8.tar.gz
---> Extracting expat
DEBUG: Executing com.apple.extract (expat)
---> Extracting expat-1.95.8.tar.gz
DEBUG: setting option extract.args to /opt/local/var/db/dports/distfiles/expat/expat-1.95.8.tar.gz
DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_textproc_expat/
work" && gzip -dc /opt/local/var/db/dports/distfiles/expat/expat-1.95.8.tar.gz | /sw/bin/gnutar --
no-same-owner -xf -'
DEBUG: Executing com.apple.patch (expat)
---> Configuring expat
DEBUG: Executing com.apple.configure (expat)
DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_textproc_expat/
work/expat-1.95.8" && ./configure --prefix=/opt/local --mandir=\${prefix}/share/man'
checking build system type... powerpc-apple-darwin8.2.0
checking host system type... powerpc-apple-darwin8.2.0
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/
dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_textproc_expat/
work/expat-1.95.8" && ./configure --prefix=/opt/local --mandir=\${prefix}/share/man" returned
error 1
Command output: checking build system type... powerpc-apple-darwin8.2.0
checking host system type... powerpc-apple-darwin8.2.0
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
First, you do have Xcode 2.0 or 2.1 installed, correct? Sometimes weird errors like this happen with an older version of Xcode on a newer version of the OS.
If you are running 2.0/2.1, then can you attach the files config.status and config.log (which can be found in /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_textproc_expat/ work/expat-1.95.8).