[Gambas-user] Gambas 2 -> Gambas 3

Rolf-Werner Eilert eilert-sprachen at ...221...
Wed Feb 18 08:23:08 CET 2009


Doriano Blengino schrieb:
> Benoît Minisini ha scritto:
>>> Benoit,
>>>
>>> I trying to compile and install Gambas 3 from the svn trunk and I have
>>> the same problem
>>> like Rolf.
>>>
>>> When I start the compilation by:  make        =>  I have the same
>>> error on :  cannot find -lqt-mt
>>>
>>> I tryed to compile Gambas 3 on Fedora 7 and Fedora 10, and the both
>>> case I have the same problem.
>>>
>>> I verify the library and all it's ok:     on Fedora 10
>>>
>>> [root at ...2073... ~]# ls -l /usr/lib/qt-3.3/lib/
>>> total 19380
>>> -rw-r--r-- 1 root root 7897526 oct.  8 15:19 libdesignercore.a
>>> -rw-r--r-- 1 root root    1050 oct.  8 15:18 libdesignercore.prl
>>> -rw-r--r-- 1 root root  509178 oct.  8 15:19 libeditor.a
>>> -rw-r--r-- 1 root root     956 oct.  8 15:18 libeditor.prl
>>> -rw-r--r-- 1 root root   41204 oct.  8 15:19 libqassistantclient.a
>>> -rw-r--r-- 1 root root     967 oct.  8 15:18 libqassistantclient.prl
>>> lrwxrwxrwx 1 root root      15 déc.  5 02:24 libqsa.so -> libqsa.so.
>>> 1.1.4
>>> lrwxrwxrwx 1 root root      15 déc.  5 02:20 libqsa.so.1 -> libqsa.so.
>>> 1.1.4
>>> lrwxrwxrwx 1 root root      15 déc.  5 02:20 libqsa.so.1.1 ->
>>> libqsa.so.1.1.4
>>> -rwxr-xr-x 1 root root 2106324 mars 25  2008 libqsa.so.1.1.4
>>> -rw-r--r-- 1 root root     964 oct.  8 15:18 libqt-mt.prl
>>> lrwxrwxrwx 1 root root      17 déc.  5 13:06 libqt-mt.so -> libqt-
>>> mt.so.3.3.8
>>> lrwxrwxrwx 1 root root      17 déc.  5 12:38 libqt-mt.so.3 -> libqt-
>>> mt.so.3.3.8
>>> lrwxrwxrwx 1 root root      17 déc.  5 12:38 libqt-mt.so.3.3 -> libqt-
>>> mt.so.3.3.8
>>> -rwxr-xr-x 1 root root 8880140 oct.  8 15:19 libqt-mt.so.3.3.8
>>> -rw-r--r-- 1 root root     852 oct.  8 15:18 libqui.prl
>>> lrwxrwxrwx 1 root root      15 déc.  5 13:06 libqui.so -> libqui.so.
>>> 1.0.0
>>> lrwxrwxrwx 1 root root      15 déc.  5 12:38 libqui.so.1 -> libqui.so.
>>> 1.0.0
>>> lrwxrwxrwx 1 root root      15 déc.  5 12:38 libqui.so.1.0 ->
>>> libqui.so.1.0.0
>>> -rwxr-xr-x 1 root root  255332 oct.  8 15:19 libqui.so.1.0.0
>>>
>>>
>>>
>>> Olivier Cruilles
>>> Mail: linuxos at ...1896...
>>>
>>>     
>> If Redhat puts the Qt library in a strange place, maybe the configure script 
>> cannot find it. And if nobody posts the output of configure, fixing that is 
>> hard!
>>
>>   
> May be a stupid thing, but... I think the ".a" library is needed. One 
> should install the development packages.
> On my Debian system they are always separated from the normal "runtime 
> packages".
> I noticed that Redhat used to include some development file even when it 
> was not strictly necessary, but perhaps this has changed.
> 
> In my system, a ls /usr/lib/qt3-mt* gives:
> lrwxrwxrwx 1 root root      18 2008-08-23 08:46 /usr/lib/libqtmcop.so.1 
> -> libqtmcop.so.1.0.0
> -rw-r--r-- 1 root root   22984 2007-10-15 18:11 /usr/lib/libqtmcop.so.1.0.0
> lrwxrwxrwx 1 root root      17 2008-08-23 08:46 /usr/lib/libqt-mt.so.3 
> -> libqt-mt.so.3.3.7
> lrwxrwxrwx 1 root root      17 2008-08-23 08:46 /usr/lib/libqt-mt.so.3.3 
> -> libqt-mt.so.3.3.7
> -rw-r--r-- 1 root root 8490684 2007-09-27 12:50 /usr/lib/libqt-mt.so.3.3.7
> 
> I have the normal "libqt3-mt" package installed. But if I do ls 
> /usr/lib/libpng* I get:
> -rw-r--r-- 1 root root 177748 2008-04-29 11:24 /usr/lib/libpng12.a
> lrwxrwxrwx 1 root root     18 2008-08-23 08:47 /usr/lib/libpng12.so -> 
> libpng12.so.0.27.0
> lrwxrwxrwx 1 root root     18 2008-08-23 08:46 /usr/lib/libpng12.so.0 -> 
> libpng12.so.0.27.0
> -rw-r--r-- 1 root root 141432 2008-04-29 11:24 /usr/lib/libpng12.so.0.27.0
> lrwxrwxrwx 1 root root     10 2008-08-23 08:47 /usr/lib/libpng.a -> 
> libpng12.a
> lrwxrwxrwx 1 root root     11 2008-08-23 08:47 /usr/lib/libpng.so -> 
> libpng12.so
> 
> and you see those ".a" files. This is because I have the development 
> package for libpng.
> 
> 
> 

Yep, the first one isn't on my system:

server03:~ # ls /usr/lib/qt3-mt*
ls: cannot access /usr/lib/qt3-mt*: No such file or directory

server03:~ # ls /usr/lib/libpng*
/usr/lib/libpng.a   /usr/lib/libpng.so    /usr/lib/libpng.so.3.18.0 
/usr/lib/libpng12.la  /usr/lib/libpng12.so.0
/usr/lib/libpng.la  /usr/lib/libpng.so.3  /usr/lib/libpng12.a 
/usr/lib/libpng12.so  /usr/lib/libpng12.so.0.18.0

I only wonder how I could compile Gambas3 a few weeks ago - it's there, 
it's running fine...





More information about the User mailing list