[MacPorts] #23231: zabbix looks for sqlite3 in the wrong place
MacPorts
noreply at macports.org
Mon Jan 11 02:52:54 PST 2010
#23231: zabbix looks for sqlite3 in the wrong place
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: markd@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: zabbix
-------------------------------------+--------------------------------------
From the configure script output:
{{{
checking for SQLite3 library >= 3.0.0... yes
cat: /opt/local/lib/include/sqlite3.h: No such file or directory
./configure: line 8713: test: !=: unary operator expected
configure: WARNING: Can not find SQLITE_VERSION macro in sqlite3.h header
to retrieve SQLite version!
}}}
"/opt/local/lib/include" isn't right here, and we see this again along
with "/opt/local/lib/lib" in the summary at the end:
{{{
Compiler flags: -O2 -arch x86_64 -I/opt/local/lib/include
-I. -I/usr/local/include
}}}
{{{
Linker flags: -L/opt/local/lib -lresolv
-L/opt/local/lib/lib -lsqlite3 -L/opt/local/lib -lcurl
-L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -lssl -lcrypto -lssl
-lcrypto -lz -lz -lnetsnmp -lcrypto -lnetsnmp -lcrypto
}}}
This seems to stem from the "`--with-sqlite3=${prefix}/lib`" configure
argument in the sqlite3 variant. Changing it to "`--with-
sqlite3=${prefix}`" makes this problem go away.
--
Ticket URL: <http://trac.macports.org/ticket/23231>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list