FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Setup Issues › Compiling for MediaVault – sqlite issue
- This topic has 19 replies, 4 voices, and was last updated 16 years, 1 month ago by sansp00.
-
AuthorPosts
-
11/12/2007 at 2:44 AM #2028sansp00Participant
Arghh ! Im pulling my hair here …
Manage to compile all dependencies and am having the following issue:
checking sqlite3.h usability… yes
checking sqlite3.h presence… yes
checking for sqlite3.h… yes
checking for sqlite3_open in -lsqlite3… no
Must have sqlite3 libraries installedAnd here is the configure line I use ..
./configure –host=mipsel-linux CPPFLAGS=”-I ../include” LDFLAGS=”-L ../lib” –with-id3tag=../ –enable-mdns –with-static-libs=../lib ac_cv_func_setpgrp_void=yes ac_cv_lib_id3tag_id3_file_open=yes –enable-sqlite3 –with-sqlite-libs=../lib –with-sqlite-includes=../include ac_cv_lib_sqlite3_sqlite3_open=yesMy .h for the dependencies are in ../include and libraries are in ../lib
Is it normal that I only have a libsqlite3.la and not also a libsqlite3.a ?!?Thanks !
Patrick S.11/12/2007 at 3:57 AM #15177sansp00ParticipantOk, forget what I just posted, found all I needed under the .libs directory of each 3rd party …
Im getting close (and tired …)
Patrick S.11/12/2007 at 4:41 AM #15178rpeddeParticipant@sansp00 wrote:
Ok, forget what I just posted, found all I needed under the .libs directory of each 3rd party …
Im getting close (and tired …)
Patrick S.You’ll probably want to have compiled the sqlite stuff with –prefix=/usr/local and gone ahead and make installed them and add /usr/local/lib to your /etc/ld.conf. Otherwise you’ll ahve problems later when you try and run the binary.
Unless you intend to always run the binary from the directory it’s currently compiled in. I guess that’s an option.
— Ron
11/12/2007 at 5:51 AM #15179sansp00ParticipantIm actually cross-compiling, so there is no point into putting them with the system libs and includes …
Im stuck a bit further when making wavstream, Im investigating to see whats wrong …
Patrick S.11/12/2007 at 6:17 AM #15180sansp00ParticipantHere is my latest ‘issue’ …
make[3]: Entering directory `/home/psansouc/MediaVault/Firefly_1696/mt-daapd-svn-1696/src’
/bin/sh ../libtool –tag=CC –mode=link mipsel-linux-gcc -g -O2 -L /home/psansouc/MediaVault/Firefly_1696/lib -Wl,–export-dynamic -L/home/psansouc/MediaVault/Firefly_1696//lib -R/home/psansouc/MediaVault/Firefly_1696//lib -o wavstreamer wavstreamer.o mdns/libmdns.la -ldl -lpthread /home/psansouc/MediaVault/Firefly_1696/lib/libid3tag.a /home/psansouc/MediaVault/Firefly_1696/lib/libz.a /home/psansouc/MediaVault/Firefly_1696/lib/libsqlite3.a
mipsel-linux-gcc -g -O2 /home/psansouc/MediaVault/Firefly_1696/lib -Wl,–export-dynamic -o wavstreamer wavstreamer.o -L/home/psansouc/MediaVault/Firefly_1696/mt-daapd/src -L/home/psansouc/MediaVault/Firefly_1696//lib mdns/.libs/libmdns.a -L/home/psansouc/MediaVault/Firefly_1696/mt-daapd/src/mdns -ldl -lpthread /home/psansouc/MediaVault/Firefly_1696/lib/libid3tag.a /home/psansouc/MediaVault/Firefly_1696/lib/libz.a /home/psansouc/MediaVault/Firefly_1696/lib/libsqlite3.a -Wl,–rpath -Wl,/home/psansouc/MediaVault/Firefly_1696//lib
/home/psansouc/MediaVault/Firefly_1696/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[3]: *** [wavstreamer] Error 1
make[3]: Leaving directory `/home/psansouc/MediaVault/Firefly_1696/mt-daapd-svn-1696/src’
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/psansouc/MediaVault/Firefly_1696/mt-daapd-svn-1696/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/psansouc/MediaVault/Firefly_1696/mt-daapd-svn-1696′
make: *** [all] Error 2Any help is appreciated …
Patrick S.12/12/2007 at 6:38 AM #15181rpeddeParticipant@sansp00 wrote:
Here is my latest ‘issue’ …
make[3]: Entering directory `/home/psansouc/MediaVault/Firefly_1696/mt-daapd-svn-1696/src’
/bin/sh ../libtool –tag=CC –mode=link mipsel-linux-gcc -g -O2 -L /home/psansouc/MediaVault/Firefly_1696/lib -Wl,–export-dynamic -L/home/psansouc/MediaVault/Firefly_1696//lib -R/home/psansouc/MediaVault/Firefly_1696//lib -o wavstreamer wavstreamer.o mdns/libmdns.la -ldl -lpthread /home/psansouc/MediaVault/Firefly_1696/lib/libid3tag.a /home/psansouc/MediaVault/Firefly_1696/lib/libz.a /home/psansouc/MediaVault/Firefly_1696/lib/libsqlite3.a
mipsel-linux-gcc -g -O2 /home/psansouc/MediaVault/Firefly_1696/lib -Wl,–export-dynamic -o wavstreamer wavstreamer.o -L/home/psansouc/MediaVault/Firefly_1696/mt-daapd/src -L/home/psansouc/MediaVault/Firefly_1696//lib mdns/.libs/libmdns.a -L/home/psansouc/MediaVault/Firefly_1696/mt-daapd/src/mdns -ldl -lpthread /home/psansouc/MediaVault/Firefly_1696/lib/libid3tag.a /home/psansouc/MediaVault/Firefly_1696/lib/libz.a /home/psansouc/MediaVault/Firefly_1696/lib/libsqlite3.a -Wl,–rpath -Wl,/home/psansouc/MediaVault/Firefly_1696//lib
/home/psansouc/MediaVault/Firefly_1696/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[3]: *** [wavstreamer] Error 1
make[3]: Leaving directory `/home/psansouc/MediaVault/Firefly_1696/mt-daapd-svn-1696/src’
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/psansouc/MediaVault/Firefly_1696/mt-daapd-svn-1696/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/psansouc/MediaVault/Firefly_1696/mt-daapd-svn-1696′
make: *** [all] Error 2Any help is appreciated …
Patrick S.yeah, sure enought… that’s definitely a bad -Wl there, the -Wl,/blahblahblah//lib
not even sure what that’s trying to do. Where did that come from? Do you have some kind of build harness that’s adding LDFLAGS or something?
Failing that, you can always compiled by hand. 🙂
mipsel-linux-gcc -g -O2 -o wavstreamer wavstreamer.c
— Ron
12/12/2007 at 7:55 AM #15182sansp00ParticipantSuccess !!!
I just edited the makefile and changed the LDFLAGS entries …
Don’t know why that appeared there but I don’t care much if I can tweak it to my taste afterwards.So if anybody is interested in getting the build 1696 for the HP MediaVault, I can zip it and send it off 8)
I’ll try to build each ‘stable’ version as they come out, I made myself a VMWare Fedora image to do this.
Sorry for all the dumb questions …
Patrick S.12/12/2007 at 6:27 PM #15183AnonymousInactiveI am very interested in getting the latest Firefly to run on a Media Vault.
I’d like to have the either the final product or a how-to on compiling the source code.
Thank you and Ron for your efforts!
12/12/2007 at 7:30 PM #15184sansp00ParticipantWell, in order to compile it, you’ll need a linux box or a windows box running a linux vmware image …
Else, like Lee from the MV team did, I can provide you with a zipped file with all the necessary and point you to Lee’s instructions, which are fairly simple.Patrick S.
12/12/2007 at 8:37 PM #15185AnonymousInactiveThe zip file will be much welcomed. I’ll use it as a starting point.
-
AuthorPosts
- The forum ‘Setup Issues’ is closed to new topics and replies.