Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 02 Oct 2014, 07:17
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Trying to compile QUCS 0.0.17 [solved (for slacko 5.6)]
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
darkcity


Joined: 23 May 2010
Posts: 2455
Location: near here

PostPosted: Wed 25 Sep 2013, 11:11    Post_subject:  Trying to compile QUCS 0.0.17 [solved (for slacko 5.6)]
Sub_title: Qt headers... configure: error: not found
 

Hi

I have installed qt 4.8, qt 4.8 dev and qt 3.38. I installed qt 3.3.8 dev from debian squeeze.

Can't get qucs 0.0.17 to compile

Code:
checking for ranlib... ranlib
checking for ar... ar
checking for lrelease-qt4... no
checking for lrelease... /opt/qt4/bin/lrelease
checking for lupdate-qt4... no
checking for lupdate... /opt/qt4/bin/lupdate
checking for moc-qt4... no
checking for moc... /opt/qt4/bin/moc
checking for uic-qt4... no
checking for uic... /opt/qt4/bin/uic
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for Qt headers... configure: error: not found


any ideas? Razz

EDIT: Should have stated I'm using Slacko 5.3.1.

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
OscarTalks

Joined: 05 Feb 2012
Posts: 884
Location: London, England

PostPosted: Fri 27 Sep 2013, 19:19    Post_subject:  

Hello darkcity,

I'm afraid I don't know what the package is that you are trying to compile. There are a couple of ideas you could try which I have had success with previously when I have encountered "headers not found" errors.

It could be that the headers are installed in a nonstandard path where it can't see them. Presumably you can use ROX or your file manager to see where they are and then add the CPPFLAGS to tell it where to look. Along the lines of:-

Code:
./configure CPPFLAGS=-I/path/to/includes


(character after the dash is a capital "i")

I have sometimes had to do this in Wary because some headers are down the /usr/X11R7/include path.

The other thing that sometimes happens is that headers are in a sub-folder when they need to be out in the open or vice versa. Creating symlinks to correct the path may resolve this but I'm not sure how practical that would be in the case of Qt.

_________________
Oscar in England

Back to top
View user's profile Send_private_message 
darkcity


Joined: 23 May 2010
Posts: 2455
Location: near here

PostPosted: Sat 28 Sep 2013, 03:02    Post_subject:  

Hi OscarTalks

Thanks for the reply. I've compiled qjackctl and qtractor, but they both use QT4. Qucs seems to use QT3. Interesting to know sometimes the includes/headers need sym-linking in.

Cool

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send_private_message Visit_website 
666philb


Joined: 07 Feb 2010
Posts: 1724
Location: wales

PostPosted: Sun 29 Sep 2013, 23:25    Post_subject:  

hi darkcity, it just configured for me .... it also needed libqt4-qt3support and possibly libqt3-mt.dev (as well as what you have already installed)
_________________
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
Back to top
View user's profile Send_private_message 
darkcity


Joined: 23 May 2010
Posts: 2455
Location: near here

PostPosted: Mon 30 Sep 2013, 12:10    Post_subject:  

Hi 666philb

Thanks for the reply.

Could you tell me what QT packages you have installed, I tried many without success, but have uninstalled most for them now.

Cool

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send_private_message Visit_website 
mikeb


Joined: 23 Nov 2006
Posts: 8257

PostPosted: Mon 30 Sep 2013, 13:01    Post_subject:  

It might be worth grabbing a copy of slax 6 since it will have all the dev files included for qt3 though seems odd that the header files you obtained from debian will not play but perhaps debians qt3 layout differes in some way which would not be surprising...or qt variables need setting up..or it expects package config files to be already present.

I assume you have seen the 0.0.16 build for puppy http://www.qsl.net/wn2a/qucs.html

If you are into circuit simulators I found this one to be surprisingly good
http://www.falstad.com/circuit/

mike
Back to top
View user's profile Send_private_message 
666philb


Joined: 07 Feb 2010
Posts: 1724
Location: wales

PostPosted: Mon 30 Sep 2013, 13:09    Post_subject:  

i'm using precise puppy and i installed pemasus qt4.8.2.sfs and qt4.8.2.dev http://smokey01.com/pemasu/pet_packages-upup/ then libqt4-qt3support from the PPM. when installing libqt4-qt3support, i unchecked all the other libqt4 stuff as it's in the .sfs.

it doesn't need any other qt3 stuff

if you look at the file... /qucs-0.0.17/debian/control it shows the dependencies for the build and also some extra recommended dependencies once it's installed

_________________
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
Back to top
View user's profile Send_private_message 
darkcity


Joined: 23 May 2010
Posts: 2455
Location: near here

PostPosted: Tue 01 Oct 2013, 12:07    Post_subject:  

@Mike B

The java program looks very interesting at http://www.falstad.com/circuit/
Nice find, ill dig in when I have more time Cool

I have installed Qucs 0.16 packaged by WN2A. I just wanted to try the latest version - looks like a few years between releases even though it only a 0.01 version increase.
The copy you linked to seems to be corrupted, I used Geoffrey's mirror, see http://murga-linux.com/puppy/viewtopic.php?p=727423#727423

@666philb

Thanks for your help making progress. Using qt4.8.2 and DEV SFSs meant I could configure Qucs, and added libqt4-qt3support from a deb (can't find in slacko repos). It won't compile though -

Code:
...
Gui -lQtXml -lQt3Support
/usr/lib/gcc/i486-slackware-linux/4.5.2/../../../libQtCore.so: undefined reference to `__fdelt_chk@GLIBC_2.15'
collect2: ld returned 1 exit status
make[3]: *** [qucs] Error 1


I think this means it Qucs in compiled against Glibc 2.15, but Slacko 5.3.1 is only 2.13. It may have to wait until I upgrade Puppy.
http://puppylinux.org/wikka/glibc

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send_private_message Visit_website 
mikeb


Joined: 23 Nov 2006
Posts: 8257

PostPosted: Tue 01 Oct 2013, 12:36    Post_subject:  

Quote:
I think this means it Qucs in compiled against Glibc 2.15, but Slacko 5.3.1 is only 2.13. It may have to wait until I upgrade Puppy.


seems more likely the QT4 library wants glibc 2.15...do the set you have work with other apps?

Note...such as QT etc can usually be built against older glibc....and debian tend to force a higher glibc than actually needed as part of keeping things in the fold. Not sure how they do it...I just recompile the same sources and lo and behold glibc needs drop several versions...even if built on a system with a higher version.

Mike
Back to top
View user's profile Send_private_message 
darkcity


Joined: 23 May 2010
Posts: 2455
Location: near here

PostPosted: Tue 01 Oct 2013, 12:46    Post_subject:  

I compiled qtrackor on the an older version of Qt, but they where the ones that gave me the 'qt header not found' problems with Qucs.
_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send_private_message Visit_website 
mikeb


Joined: 23 Nov 2006
Posts: 8257

PostPosted: Tue 01 Oct 2013, 14:29    Post_subject:  

Hmm perhaps dig into the configure and see what its looking for in terms of headers... different sources have different ways of checking dependancies...some want those little binaries that splurge out library infoi for example.
In linux one thing that is consistant is a lack of consistancy Very Happy

OR..compile QT4 yourself....sometimes its easier....and you have a library set you can rely on

mike
Back to top
View user's profile Send_private_message 
666philb


Joined: 07 Feb 2010
Posts: 1724
Location: wales

PostPosted: Tue 01 Oct 2013, 15:41    Post_subject:  

just tried it on slacko5.6 and it worked ..

open the PPM and tick the .dev box and search for qt
then install the qt-everywhere.dev package... this will also install qt (slacko version) and another dep. (qt everywhere includes libqt4-qt3support)

you will then either have to copy /opt/include to /usr/include, or you can tell the compiler to look for the headers in /opt/ .. i don't know how to do that, so i just dragged and dropped /opt/include to /usr.

qucs should then compile.

you need to make sure all your other qt remnants are uninstalled or they might conflict.

qt in slacko says it requires a reboot, so you may need to do that to run the package after compiling and installing it.

_________________
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
Back to top
View user's profile Send_private_message 
666philb


Joined: 07 Feb 2010
Posts: 1724
Location: wales

PostPosted: Wed 02 Oct 2013, 13:57    Post_subject:  

i can post you the .pet if you want?
_________________
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
Back to top
View user's profile Send_private_message 
darkcity


Joined: 23 May 2010
Posts: 2455
Location: near here

PostPosted: Wed 02 Oct 2013, 14:07    Post_subject:  

>In linux one thing that is consistant is a lack of consistancy Very Happy
the standard is no standard ; -)

>OR..compile QT4 yourself....sometimes its easier....and you have a library set you can rely on
I had I go at that, it takes quite a long time on my machine.

>then install the qt-everywhere.dev package... this will also install qt (slacko version) and another dep. (qt everywhere includes libqt4-qt3support)
maybe this is where I was going wrong, looking for libqt4-qt3support on its own.

>i can post you the .pet if you want?
I would appreciate that, as I don't have much time at mo

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send_private_message Visit_website 
666philb


Joined: 07 Feb 2010
Posts: 1724
Location: wales

PostPosted: Thu 03 Oct 2013, 10:21    Post_subject:  

here you go ... just needs qt-everywhere from the PPM https://copy.com/NzRljvVwvOov
_________________
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0853s ][ Queries: 11 (0.0078s) ][ GZIP on ]