Opened 15 years ago

Closed 15 years ago

#20582 closed defect (fixed)

perl5.8 failed configure - error 2

Reported by: Huber.Andy@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: perl5.8

Description (last modified by tobypeterson)

I'm trying to install perl5.8 on a freshly installed port system (no other port installed). Latest version of Xcode and OS X 10.5.8 installed. Configuring gives the following error:

--->  Fetching perl5.8
--->  Attempting to fetch perl-5.8.9.tar.bz2 from http://arn.se.distfiles.macports.org/perl5.8
--->  Verifying checksum(s) for perl5.8
--->  Extracting perl5.8
--->  Applying patches to perl5.8
--->  Configuring perl5.8
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_lang_perl5.8/work/perl-5.8.9" && /bin/sh Configure -des -D prefix='/opt/local' -D scriptdir='/opt/local/bin' -D cppflags="${CPPFLAGS}" -D ldflags="${LDFLAGS}" -D vendorprefix='/opt/local' -D man1ext='1pm' -D man3ext='3pm' -D cc=${CC} -D ld=${CC} -D man1dir='/opt/local/share/man/man1p' -D man3dir='/opt/local/share/man/man3p' -D siteman1dir='/opt/local/share/man/man1' -D siteman3dir='/opt/local/share/man/man3' -D vendorman1dir='/opt/local/share/man/man1' -D vendorman3dir='/opt/local/share/man/man3' -D inc_version_list="5.8.8 5.8.8/darwin-2level" -U i_bind -U i_gdbm -U i_db " returned error 2
Command output: 	/usr/lib/libdbm.dylib
	/usr/lib/libdl.dylib
	/usr/lib/libm.dylib
	/usr/lib/libutil.dylib
This may take a while..................done.
<dld.h> NOT found.
Checking for C++...
dlopen() found.
<unistd.h> found.
Do you wish to use dynamic loading? [y]  
Source file to use for dynamic loading [ext/DynaLoader/dl_dlopen.xs]  
Any special flags to pass to /usr/bin/gcc-4.0 -c to compile shared library modules?
[none]  
What command should be used to create dynamic libraries?
[env MACOSX_DEPLOYMENT_TARGET=10.3 /usr/bin/gcc-4.0]  
Any special flags to pass to env MACOSX_DEPLOYMENT_TARGET=10.3 /usr/bin/gcc-4.0 to create a dynamically loaded library?
[-L/opt/local/lib -bundle -undefined dynamic_lookup -L/usr/local/lib]  
Any special flags to pass to /usr/bin/gcc-4.0 to use dynamic linking? [none]  
Build a shared libperl.dylib (y/n) [n]  
System manual is in /usr/share/man/man1.
Where do the main Perl5 manual pages (source) go? (~name ok)
[/opt/local/share/man/man1p]  
What suffix should be used for the main Perl5 man pages? [1pm]  
You can have filenames longer than 14 characters.
Where do the perl5 library man pages (source) go? (~name ok)
[/opt/local/share/man/man3p]  
What suffix should be used for the perl5 library man pages? [3pm]  
Figuring out host name...
Configure: line 8493: set: -A: invalid option
set: usage: set [--abefhkmnptuvxBCHP] [-o option] [arg ...]

Error: Status 1 encountered during processing.

Is there any obvious that I missed? I would very happy about any kind of help!

Change History (4)

comment:1 Changed 15 years ago by tobypeterson

Description: modified (diff)
Keywords: perl5.8 configure error 2 removed
Version: 1.7.1

In the future, please use WikiFormatting so we can actually read your report.

comment:2 Changed 15 years ago by tobypeterson

Weird. What is the output of hostname on your machine?

comment:3 in reply to:  2 Changed 15 years ago by Huber.Andy@…

Replying to toby@…:

Weird. What is the output of hostname on your machine?

sorry for the formatting!

hostname is -Andy-

comment:4 Changed 15 years ago by tobypeterson

Resolution: fixed
Status: newclosed

While I would suggest choosing a saner hostname, I believe I've worked around the issue with r55089

Note: See TracTickets for help on using tickets.