Opened 18 years ago

Closed 18 years ago

#5628 closed defect (fixed)

BUG: gpg-agent does not build

Reported by: eschnett (Erik Schnetter) Owned by: yeled@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Trying to install gpg-agent fails with the error message

$ sudo port install gpg-agent ---> Building gpg-agent with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_security_gpg- agent/work/gnupg-1.9.10" && make all" returned error 2 Command output: make all-recursive Making all in m4 make[2]: Nothing to be done for `all'. Making all in intl make[2]: Nothing to be done for `all'. Making all in jnlib make[2]: Nothing to be done for `all'. Making all in common if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/opt/local/include -I/opt/local/include -g -O2 -Wall -MT sysutils.o -MD -MP -MF ".deps/sysutils.Tpo" \

-c -o sysutils.o test -f 'sysutils.c' || echo './'sysutils.c; \

then mv -f ".deps/sysutils.Tpo" ".deps/sysutils.Po"; \ else rm -f ".deps/sysutils.Tpo"; exit 1; \ fi In file included from sysutils.c:40: i18n.h:34:23: libintl.h: No such file or directory sysutils.c: In function `disable_core_dumps': sysutils.c:87: warning: implicit declaration of function `gettext' sysutils.c:87: warning: passing arg 1 of `log_fatal' makes pointer from integer without a cast make[2]: * [sysutils.o] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

It seems the build script does not find the file libintl.h. This file exists on my system in the directory / sw/include. (I assume this file came with a fink package.)

Change History (5)

comment:1 Changed 18 years ago by yeled@…

Owner: changed from darwinports-bugs@… to yeled@…

comment:2 Changed 18 years ago by yeled@…

Status: newassigned
Summary: gpg-agent does not buildBUG: gpg-agent does not build

Hi Erik,

what OS, GCC and which XCode tools version is this?

$ uname -srpn $ xcodebuild -version $ gcc_select

comment:3 Changed 18 years ago by yeled@…

try `sudo port install gettext && sudo port install gpg-agent'

comment:4 Changed 18 years ago by eschnett (Erik Schnetter)

My version numbers are

$ uname -srpn Darwin Orange.local 8.3.0 powerpc eschnett@Orange:~ (07:06:14) $ xcodebuild -version DevToolsCore-620.0; DevToolsSupport-610.0 eschnett@Orange:~ (07:06:20) $ gcc_select Current default compiler: gcc version 3.3 20030304 (Apple Computer, Inc. build 1809)

After installing the gettext port, I could install gpg-agent without problems. Thank you for the hint!

comment:5 Changed 18 years ago by yeled@…

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