LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-15-2010, 10:18 AM   #1
jcas1411
LQ Newbie
 
Registered: Sep 2010
Posts: 25

Rep: Reputation: 0
Question compiling kde3.5.10, problem with qt-x11-free-3.3.8 (slackware 13.1)


Hey guys, I need kde 3.5.10 in slackware so I followed forums of installing slackware without kde4 and qt. now I'm in the process of installing qt3-x11-3.3.8 to compile kde3.5.10. because why not.

I'm getting a libpng problem during make of qt3-x11-free-3.3.8

[.obj/release-shared-mt/qpngio.o] Error1
leaving dir /usr/local/qt/src
[sub-src] Error2


I followed all the instructions on compiling qt for x11,
setting .profile for my paths
using the long configure string
./configure -system-zlib -qt-gif -system-libpng \
-system-libjpeg -plugin-imgfmt-mng -thread -no-stl \
-no-xinerama -no-g++-exceptions
etc..
I checked and it seems slackware has libpng14 and libpng12 installed


should I have obmitted these on my stripped install to compile qt? is there a way to point my compile to existing libraries?

Thanks,
John
 
Old 10-15-2010, 10:59 AM   #2
PhantasyConcepts
LQ Newbie
 
Registered: May 2009
Posts: 19

Rep: Reputation: 3
Some timely tips on Slackware and libraries

First of all, the people who wrote Qt wrote it for the general Linux crowe (well, the Linux version anyhow) so that means Red-Hat-based. Us Slackers have to do things differently than the rest of the world. If there is no configure option for the libpng path, you might have to find out where it is looking for the libpng. I haven't tried building Qt recently on Slackware, but if you can't find the Slackbuild script for it, you will have to do symbolic links for the libraries. This is an ugly and messy solution, and should be avoided at all costs, but sometimes it must be done. For example, when there was still a version of Borland Delphi available for Linux, it required glibc-2.so.3.0.6 I believe, and I had version 3.0.8.5 or something. Anyhow, I just symbolically linked the files as I needed them, and had to create new and more creative links to the same version with three or four different names.3.0.6, 3.0, and no extension were some of them. It is a messy solution, and it only works until you update your package, then you have to create the same links over again. If you can find a SlackBuild file - look in Slackware 12.2 I think - you will probably be better off.
 
Old 10-15-2010, 12:04 PM   #3
jcas1411
LQ Newbie
 
Registered: Sep 2010
Posts: 25

Original Poster
Rep: Reputation: 0
well got around that, they included third party tools directory with the libpng they build against.. also in the config file there is a config_libpng option.

now im stuck on the designer not wanting to build (which I dont need)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure problem while building qt-x11-free-3.3.3 (BLFS) jomen Linux - Software 9 12-03-2015 04:50 PM
freeciv2 1.14.2 compiling problem x11 libraries code given in post. please help cjh_ubuntu_user Linux - Newbie 4 09-10-2006 06:27 AM
X11 problem on slackware Mercurius Slackware 2 02-17-2006 07:44 AM
some question asked by a newbie compiling KDE3.2 tony yu Mandriva 2 02-15-2004 08:43 PM
Memoryproblem compiling KDE3 beta2 micke.prag Linux - General 6 03-11-2002 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration