discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] ais-tools installation problem


From: Jason
Subject: Re: [Discuss-gnuradio] ais-tools installation problem
Date: Mon, 14 Apr 2008 14:02:15 -0400
User-agent: Thunderbird 2.0.0.12 (X11/20080301)

irene159 wrote:
Hello,
I would like to run ais-tools-gnuradio-1.0.1 [1] on Cygwin. Can somebody
please give me the installation procedure? Are there any requirements to be
considered before running the application (specially concerning Google Earth
or DB)?

I ask about this a bit ago [2] and haven't heard from the author as yet.

I have installed mysql-3.23.43.
I have run the standard installation sequence : ./configure ; make
The configure worked perfectly without any error, but on the "make" I got
the following :
[snip]
make[3]: Entering directory
`/usr/src/gnuradio-3.1.1/gnuradio-examples/python/AIS/ais-tools-gnuradio-1.0.1/src'
/bin/sh ../libtool --tag=CXX --mode=link g++  -g -O2 -Wall -Woverloaded-virtual 
\
> -o aisgearthserver.exe  gearth.o -lmysqlclient -lm -L/usr/local/lib \
> -lgnuradio-core -lfftw3f -lm -lgromnithread

The above is the libtool command (reformatted). it does some fancy bs, and executes the command below.

g++ -g -O2 -Wall -Woverloaded-virtual -o aisgearthserver.exe gearth.o
> -lmysqlclient -L/usr/local/lib /usr/local/lib/libgnuradio-core.dll.a \
> /usr/local/lib/libfftw3f.dll.a /usr/local/lib/libgromnithread.dll.a \
> -lwinmm -L/usr/local/lib -L/usr/local/lib
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: \
> cannot find -lmysqlclient
collect2: ld returned 1 exit status

The error is here. ^^^ (reformatted) It can't find libmysqlclient. I'm not sure how to resolve that on Cygwin... It's most likely a path problem. Do a search of your root filesystem for libmysqlclient* (it's most likely in /usr/lib/mysql/ or /usr/local/lib/mysql/). Once you find it add '-L/path/to/mysql' to your LDFLAGS.

Once you get that far, the fun becomes guessing the table format he used, since he never spells it out... ;-)

hth,

Jason.

[1] - http://funwithelectronics.com/sdr/ais.php
[2] - http://article.gmane.org/gmane.comp.gnu.radio.general/15372




reply via email to

[Prev in Thread] Current Thread [Next in Thread]