Opened 15 years ago

Closed 15 years ago

#23231 closed defect (fixed)

zabbix looks for sqlite3 in the wrong place

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: markd@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: zabbix

Description

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.

Change History (1)

comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Fixed in r62588.

Note: See TracTickets for help on using tickets.