> On 10/02/2011 01:30 AM, Kevin Fishburne wrote:
> > I'd previously posted a message about having problems compiling and
> > didn't get a response, but someone subsequently ran into the same (I
> > think) problem which I believe they resolved. I'm getting the error:
> > 
> > /bin/sed: can't read /usr/lib/libfreetype.la: No such file or directory
> > libtool: link: `/usr/lib/libfreetype.la' is not a valid libtool archive
> > make[4]: *** [gb.sdl.la] Error 1
> > make[3]: *** [all-recursive] Error 1
> > make[2]: *** [all] Error 2
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all] Error 2
> > 
> > The solution had something to do with symlinking a file somewhere. Was
> > an elegant solution ever devised to get it to compile properly? I can't
> > remember whatever my brutal hack was to fix it (I reinstalled Debian
> > recently)
> 
> Found the old thread and created a symlink from
> /usr/lib/x86_64-linux-gnu/libfreetype.la to /usr/lib/libfreetype.la,
> which gets me to this point:
> 
> /usr/bin/install: cannot stat `.libs/gb.sdl.lai': No such file or directory
> make[3]: *** [install-gblibLTLIBRARIES] Error 1
> make[2]: *** [install-am] Error 2
> make[1]: *** [install-recursive] Error 1
> make: *** [install-recursive] Error 1
> gb.qt4: warning: unable to load Qt translation: en_US.utf8
> 
> If I remember correctly this is when I copied some files in one of the
> source directories to some system directory, which somehow got it to
> work. As I mentioned, I can't remember what I did and it was a terribly
> sloppy hack.
> 
> Any idea what's going on here, as this is a really shitty way to get gb3
> working in Debian Wheezy. gb3 runs at this point, but says gb.opengl
> isn't available. Since this is a clean install I'm reluctant to start
> copying files all over the place hoping it will run.

No idea, except that there may be a bug in the libSDL_ttf.la file provided by 
Debian Wheezy.

When trying to link with a library (apparently libsdl there), the GNU tools 
uses *.la files. These *.la files are text files that contain, among other 
things, path to the other *.la files that library depends on. This is a 
recursive process.

So I think that the libSDL_ttf.la file points at /usr/lib/libfreetype.la, and 
you don't have this file.

Either there is a missing package (the one that installs libfreetype.la inside 
/usr/lib), either the contents of libSDL_ttf.la is not valid.

Here is the line in my own libSDL_ttf.la that points at 'libfreetype.la':

--8<---
dependency_libs=' -L/usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-
gnu/libfreetype.la -lz -L/usr/lib /usr/lib/libSDL.la'
--8<---

Compare with yours.

Then fix your libSDL_ttf.la file, and recompile from scratch.

Regards,

-- 
Benoît Minisini

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to