I've sorted this out now.. CPAN seems to place 3 libraries, libsmokeq.so, so.1 and so.1.2.1 into its /build/PerlQt-3.008/smoke/qt/.libs directory. These are 6 mb in size and are in fact just 1 lib, with soft links. The libsmoke rpm lacks .so and is only 4.9 mb. I copied all three into /usr/lib/qt3/lib and it completed the install. I have no idea what the problem was, go figure.
So... ignore the stuff below. Thanks Tachyon for responding, I can't find anything about KDE bindings in my Mandrake rpm list... does it effect something similar to what I did manually ? Do I need the KDEBindings for Perl-Qt development ? I really only want to install stuff if I know why. It all adds to my education !
Venerable sirs, this humble acolyte is being driven mad by this problem trying to install Perl-Qt from CPAN :-
LD_RUN_PATH="/usr/lib/qt3//lib:/usr/local/kde/lib" g++ -shared -L/usr/local/lib Qt.o handlers.o -Wl,--rpath -Wl,/usr/local/kde/lib -Wl,--rpath -Wl,/usr/lib/qt3//lib -o blib/arch/auto/Qt/Qt.so -L/usr/X11R6/lib -L/usr/lib/qt3//lib -lsmokeqt -lcrypt -lqt-mt -ldl -lresolv -lpng -lz -lm -lSM -lICE -lXext -lX11 -lSM -lICE -lpthread
/usr/bin/ld: cannot find -lsmokeqt
collect2: ld returned 1 exit status
I'm using ActiveState Perl5.8.4, Mandrake Linux 10, Gnome.
I'm a newbie to Linux & the C compiler, my previous Perl experience was with Win32, so I also need a little help understanding these messages.
The smoke libs are in fact installed in /usr/local/lib and /usr/lib/qt3/lib but it seems to ignore them. ??? I thought it is supposed to build its own if they aren't there anyway. ????
thanks for your patience reading this far... I want to get starting building some kickass GUIs !
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.