Opened 18 years ago

Closed 18 years ago

#11025 closed defect (worksforme)

BUG: apr-util-1.2.7 requires gawk as a dependency

Reported by: cssdev Owned by: danielluke (Daniel J. Luke)
Priority: High Milestone:
Component: ports Version: 1.3.2
Keywords: Cc:
Port:

Description

The latest version of apr-util requires gawk during compiling, and I didn't have the port installed:

--->  Deactivating apr-util 1.2.7_0
--->  Fetching apr-util
--->  Verifying checksum(s) for apr-util
--->  Extracting apr-util
--->  Configuring apr-util
--->  Building apr-util with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_Volumes_homepb_Users_Shared_macports_dports_devel_apr-util/work/apr-util-1.2.7" && make all" returned error 2
[...]
/bin/sh: line 1: gawk: command not found
make[1]: *** [exports.c] Error 127
make: *** [all-recursive] Error 1

After I installed gawk, apr-util installed fine. It should be added as a dependency.

depends_build	bin:gawk:gawk

Change History (1)

comment:1 Changed 18 years ago by danielluke (Daniel J. Luke)

Resolution: worksforme
Status: newclosed

If you can reproduce this, can you uninstall gawk and apr-util and attach the full output of 'port -d -v install apr-util'?

I don't have gawk installed on my systems, and apr-util builds fine here.

Perhaps there's something odd with your system's configuration (where perhaps configure is finding gawk, but then it's not in your PATH when make is being run?)

Note: See TracTickets for help on using tickets.