New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #6504 (closed defect: worksforme)

Opened 7 years ago

Last modified 7 years ago

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

Reported by: bugz@… Owned by: dluke@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: dluke@…, 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

comment:1 Changed 7 years ago by dluke@…

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

comment:2 Changed 7 years ago by dluke@…

  • Status changed from new to assigned

comment:3 Changed 7 years ago by dluke@…

(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 7 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 7 years ago by dluke@…

  • Status changed from assigned to closed
  • Resolution set to worksforme

(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.