Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#40895 closed defect (invalid)

Error: Processing of port gnupg failed

Reported by: ragu@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: gnupg

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello, trying to install DBD-pg for a Perl-Application. Then dependencies are also gnupg which I can't install wit following output and errors:

--->  Computing dependencies for gnupg.
--->  Configuring gnupg
checking build system type... x86_64-apple-darwin12.5.0
checking host system type... x86_64-apple-darwin12.5.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... scripts/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
configure: autobuild project... gnupg
configure: autobuild revision... 1.4.14
configure: autobuild hostname... Testserver.local
configure: autobuild timestamp... 20131024-142015
checking for style of include used by make... GNU
checking for gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_gnupg/gnupg/work/gnupg-1.4.14':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_gnupg/gnupg/work/gnupg-1.4.14" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --infodir=/opt/local/share/info --disable-asm --with-libiconv-prefix=/opt/local --with-libintl-prefix=/opt/local --with-zlib=/opt/local --with-bzip2=/opt/local --with-libusb=/opt/local --with-ldap=/opt/local --with-libcurl=/opt/local 
Exit code: 1
Error: Failed to configure gnupg, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_gnupg/gnupg/work/gnupg-1.4.14/config.log
Error: org.macports.configure for port gnupg returned: configure failure: command execution failed
Warning: targets not executed for gnupg: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Please see the log file for port gnupg for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_gnupg/gnupg/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gnupg failed

MAYBE, is there a problem about architecture declaration because of the message of cross compile? I'm not a C developer. What can I do.

Thanks, Rainer

Change History (2)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: DBD-PG gnupg removed
Port: gnupg added
Resolution: invalid
Status: newclosed

Has duplicate #40896. The error message "configure: error: cannot run C compiled programs." means you did not install the command line tools. See wiki:FAQ#missingxcode.

comment:2 in reply to:  1 Changed 11 years ago by ragu@…

Replying to ryandesign@…:

Has duplicate #40896. The error message "configure: error: cannot run C compiled programs." means you did not install the command line tools. See wiki:FAQ#missingxcode.

YES! thank you very much and sorry about the duplicate. btw. macports seems quite cool.-)

Note: See TracTickets for help on using tickets.