Opened 19 years ago

Closed 19 years ago

#6504 closed defect (worksforme)

apr-util fails to build, because of false configure args

Reported by: bugz@… Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: danielluke (Daniel J. Luke), bugz@…
Port:

Description

Hello!

To make it short: apr-util fails to build, because there is the argument "-lsqlite" to the linker, but since Apple is using SQLite 3.x it will fail to find /usr/local/ (or whatever) libsqlite.dylib.

Port Version is 1.200. The Error Output is located at

http://www.bonnzept.de/irdisch/apr-util-err-output.html for your

and an alternative Portfile, solving the problem at

http://www.bonnzept.de/irdisch/apr-util-new-portfile.html

for your convenience.

Best Regards

Lorenz Hipp

www.irdisch.de info@…

PS: Keep up the good work!

Change History (5)

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

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

comment:2 Changed 19 years ago by danielluke (Daniel J. Luke)

Status: newassigned

comment:3 Changed 19 years ago by danielluke (Daniel J. Luke)

(In reply to comment #0)

Port Version is 1.200. The Error Output is located at

http://www.bonnzept.de/irdisch/apr-util-err-output.html for your

Can you attach (or post) the output from the same command, but with -d -v added?

ie port -d -v install apr-util

Thanks!

comment:4 Changed 19 years ago by bugz@…

(In reply to comment #1)

Sure! Here it is:

http://www.bonnzept.de/irdisch/apr-util-err-output-d-v.html

comment:5 Changed 19 years ago by danielluke (Daniel J. Luke)

Resolution: worksforme
Status: assignedclosed

(In reply to comment #2)

(In reply to comment #1)

Sure! Here it is:

http://www.bonnzept.de/irdisch/apr-util-err-output-d-v.html

Ok, there's something else going on on your system.

Apple ships 10.4 with /usr/include/sqlite3.h

and a corresponding /usr/lib/libsqlite3.dylib, which apr-util's configure script sees.

... but no sqlite.h. For some reason, your system has sqlite.h but no libsqlite.dylib, so apr-util's configure script is attempting to link with the library it found headers for.

Most likely you have an old sqlite.h file sitting around from something else that is causing the problem.

Note: See TracTickets for help on using tickets.