[MacPorts] #20582: perl5.8 failed configure - error 2
#20582: perl5.8 failed configure - error 2 ---------------------------------------+------------------------------------ Reporter: Huber.Andy@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: perl5.8 configure error 2 | Port: perl5.8 ---------------------------------------+------------------------------------ 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! -- Ticket URL: <http://trac.macports.org/ticket/20582> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20582: perl5.8 failed configure - error 2 -------------------------------+-------------------------------------------- Reporter: Huber.Andy@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: perl5.8 -------------------------------+-------------------------------------------- Changes (by toby@…): * keywords: perl5.8 configure error 2 => * version: 1.7.1 => Old description:
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!
New description: 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! -- Comment: In the future, please use [wiki:WikiFormatting] so we can actually read your report. -- Ticket URL: <http://trac.macports.org/ticket/20582#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20582: perl5.8 failed configure - error 2 -------------------------------+-------------------------------------------- Reporter: Huber.Andy@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: perl5.8 -------------------------------+-------------------------------------------- Comment(by toby@…): Weird. What is the output of `hostname` on your machine? -- Ticket URL: <http://trac.macports.org/ticket/20582#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20582: perl5.8 failed configure - error 2 -------------------------------+-------------------------------------------- Reporter: Huber.Andy@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: perl5.8 -------------------------------+-------------------------------------------- Comment(by Huber.Andy@…): Replying to [comment:2 toby@…]:
Weird. What is the output of `hostname` on your machine?
sorry for the formatting! hostname is -Andy- -- Ticket URL: <http://trac.macports.org/ticket/20582#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20582: perl5.8 failed configure - error 2 --------------------------------+------------------------------------------- Reporter: Huber.Andy@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: perl5.8 | --------------------------------+------------------------------------------- Changes (by toby@…): * status: new => closed * resolution: => fixed Comment: While I would suggest choosing a saner hostname, I believe I've worked around the issue with r55089 -- Ticket URL: <http://trac.macports.org/ticket/20582#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts