Bug 1269 - sqlite3 not found on FreeBSD
sqlite3 not found on FreeBSD
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: build system
pre-release
PC FreeBSD
: P5 normal
Assigned To: Gustavo J. A. M. Carneiro
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-27 10:48 UTC by Vedran Miletić
Modified: 2011-09-27 13:28 UTC (History)
1 user (show)

See Also:


Attachments
config.log (38.12 KB, text/x-log)
2011-09-27 12:32 UTC, Vedran Miletić
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vedran Miletić 2011-09-27 10:48:44 UTC
[vedranm@inf2 ~/ns-3-allinone/ns-3-dev]$ uname -a
FreeBSD inf2.ffri.hr 9.0-BETA2 FreeBSD 9.0-BETA2 #0: Sat Sep 24 14:26:01 CEST 2011     root@inf2.ffri.hr:/usr/obj/usr/src/sys/GENERIC  amd64

sqlite3-3.7.8 is installed:

[vedranm@inf2 ~/ns-3-allinone/ns-3-dev]$ file /usr/local/lib/libsqlite3.*
/usr/local/lib/libsqlite3.a:    current ar archive
/usr/local/lib/libsqlite3.la:   libtool library file
/usr/local/lib/libsqlite3.so:   symbolic link to `libsqlite3.so.8'
/usr/local/lib/libsqlite3.so.8: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, not stripped
[vedranm@inf2 ~/ns-3-allinone/ns-3-dev]$ ls /usr/local/include/sqlite3.h
/usr/local/include/sqlite3.h

However, configure ends with:
---- Summary of optional NS-3 features:
NS-3 Click Integration        : not enabled (nsclick not enabled (see option --with-nsclick))
GtkConfigStore                : not enabled (library 'gtk+-2.0 >= 2.12' not found)
XmlIo                         : not enabled (library 'libxml-2.0 >= 2.7' not found)
Threading Primitives          : enabled
Real Time Simulator           : enabled
Emulated Net Device           : not enabled (<netpacket/packet.h> include not detected)
Network Simulation Cradle     : not enabled (NSC library liblinux2.6.26.so is missing: NSC has not been built?)
MPI Support                   : not enabled (option --enable-mpi not selected)
NS-3 OpenFlow Integration     : not enabled (Required boost libraries not found)
SQlite stats data output      : not enabled (library 'sqlite3' not found)
Tap Bridge                    : not enabled (<linux/if_tun.h> include not detected)
Python Bindings               : not enabled (PyBindGen missing)
Use sudo to set suid bit      : not enabled (option --enable-sudo not selected)
Build tests                   : not enabled (defaults to disabled)
Build examples                : not enabled (defaults to disabled)
GNU Scientific Library (GSL)  : enabled
Comment 1 Vedran Miletić 2011-09-27 10:50:37 UTC
BTW, notice this as well:

[vedranm@inf2 ~/ns-3-allinone/ns-3-dev]$ ls /usr/local/libdata/pkgconfig/
gsl.pc          python-2.7.pc   sqlite3.pc      valgrind.pc

GSL gets found, but sqlite3 doesn't.
Comment 2 Gustavo J. A. M. Carneiro 2011-09-27 11:00:37 UTC
Please attach file build/config.log; thanks.
Comment 3 Vedran Miletić 2011-09-27 12:32:32 UTC
Created attachment 1246 [details]
config.log

Hope this helps.
Comment 4 Gustavo J. A. M. Carneiro 2011-09-27 13:05:36 UTC
OK, I hope this patch fixes it:


changeset:   7546:5f6c264f94aa
tag:         tip
user:        Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>
date:        Tue Sep 27 18:04:38 2011 +0100
summary:     Bug 1269 - sqlite3 not found on FreeBSD
Comment 5 Vedran Miletić 2011-09-27 13:28:20 UTC
It does, thanks.