How to get qtlib dependent stuff to compile?

Using applications, configuring, problems
Message
Author
VK6FUN
Posts: 120
Joined: Sat 18 Oct 2008, 13:11
Location: North Baandee, Western Australia

How to get qtlib dependent stuff to compile?

#1 Post by VK6FUN »

Hi

Just booted up 4.01...HOORAY my broadcom wifi card works again!

So I am starting again to try and make a svxlink/qtel puppy.

The problem I keep running into is qt, which this very handy ham radio app depends on.

All of the petget qtlib packages are somehow incomplete, so I tried to compile qt from source. It is too big and crashes the whole shebang.`

All the other dependencies (libsigc++-1.2. spandsp, gsm and tcl) compiled ok.

Any suggestions?
muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#2 Post by muggins »

@VK6FUN,

when you've installed the petget qtlib package, and try running the app's binary/executable from the commandline, what error message are you getting? Plus, if the app's binary is located in /usr/bin and, not knowing what it's called I'll assume xxx, what's the output from running:

Code: Select all

ldd /usr/bin/xxx
If this shows that you're missing libQt3Support.so.4, it's available here
VK6FUN
Posts: 120
Joined: Sat 18 Oct 2008, 13:11
Location: North Baandee, Western Australia

#3 Post by VK6FUN »

Well qtlibs doesn't have an executable binary afaict. Its just a bunch of so's and headers. The whole qt environment is >100M zipped up and needs a bigger partition than puppy can provide in order to compile it all. Maybe I can just make some targets from the makefile......It will be an educated guess which ones... I'll try it and let ya know.

Compiling the qtel application fails when gmake goes looking for the qt networking libs like qtdns.h

maybe this should really be posted in developer's?
muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#4 Post by muggins »

With situations like gmake being unable to find qtdns.h, this is where I use find and turma. Find to locate whether I have the include file, qtdns.h, and where it's located, and turma to search the source directory to see which source files need qtdns.h, and where they're looking for it.
VK6FUN
Posts: 120
Joined: Sat 18 Oct 2008, 13:11
Location: North Baandee, Western Australia

#5 Post by VK6FUN »

Thanks muggins for getting back to me with that cool info.I have never used turma before. Looks really useful!

I have lifted the thread I have going at svxlink-devel and pasted it here.
Me and Tobias the svxlink main man.

> Yes Qtel is the main goal, and so is svxlink.
> I have upgraded to Puppy 4.01 but still getting to the same errors.
> I believe the Puppy qtlibs package is incomplete and I am trying to address
> this with the Puppy team.
> Is qtel dependent on any particular version of qt? Is qt4 ok?

I have not looked at Qt 4 but I think that Qtel would have to be changed to
work with Qt 4. Qt 3 is probably your safest bet.

73's de SM0SVX / Tobias


> It is not possible to compile the entire qt suite using the limited Puppy
> development environment.
> Maybe there is a way to just compile enough qt to get qtel up and running?
> Maybe someone knows a way of using some precompiled stuff?
> I'm still having fun with this, I think
>
> 73deVK6FUN
>
>
> On Sat, Oct 4, 2008 at 9:25 PM, Tobias Blomberg <
>
> sm0svx@users.sourceforge.net> wrote:
> > On Tuesday 30 September 2008 10:52:39 Peter Barrett wrote:
> > > Hi
> > >
> > > I'm trying to build a dingo puppy (see http://www.puppylinux.org/ )
> > > with svxLink. The idea is to develop quick-n-easy
> >
> > echolink/repeater-linking
> >
> > > live cd that will run on anything.
> > >
> > > I had to build spandsp, gsm, tcl from source. I found a qt-3.3.6 "pet"
> > > (puppy precompiled package) and installed it, and noticed that there
> > > were sigc++ so's in /usr/lib so I buckled down for rough ride.....
> > >
> > > I was not wrong. the libsigc++-2.0 was not recognised by the configure
> > > script so I compiled 1.2 from source OK.
> >
Yes, only 1.2 will work.
> >
> > > Now with the configure script happy I hit make....
> > >
> > > I got to this show-stopper:
> > > #error "The header file 'AsyncQtApplication.h' doesn't include <QObject>."
> >
> > Doesn't recognize this error.
> >
> > > ...so I looked at the .cpp files and thought hmmm thats a bit strict!
> > > I got cheeky and commented out the lines in the .cpp files that cause
> > > the errors and replaced them with this: #defineQ_MOC_OUTPUT_REVISION =59
> > >
> > > nNow compiling gets this far:
> > > --Creating dependency file depend/AsyncQtApplication.dpp
> > > make[3]: ***No rule to make target 'qtimer.h', needed by
> > > 'depend/moc_AsyncQtTimer.dpp'. Stop make[2]: ***[all] Error 2 make[1....blah blah blah
> > >
> > > I got a feeling my qt stuff is not arranged correctly. Puppy put them in /opt so I made some symlinks to /usr/lib BTW i noticed that "which qtimer.h" does not find it even though the file manger clearly shows it sitting in /usr/lib/qt/include/Qt/
> >
You only need Qt if you are going to run Qtel but maybe that is your goal. If you are only going to use the SvxLink Server, no Qt is needed.
> >
> > > I find qt a bit confusing! Maybe I should link to it from somewhere else???
> >
It should be sufficient to setup the environment variable QTDIR to pointto your /opt/qt-3.3.6 directory or whatever it's called. The directory that QTDIR points to should contain a lib, bin and include directory.
> >
73's de SM0SVX / Tobias
> >
> > > cheers from Peter vk6fun
> > >
> > > "You can never have too many radios
muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#6 Post by muggins »

I'm out of town at the moment, so can't compile it for you, but if you provide a link to the particular source tarball you're trying to compile, I can have a go at compiling it on the weekend.

Also, I'm a bit dizzy with where puppy is at the moment, what response do you get if you enter uname -r on your target puppy?
aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#7 Post by aragon »

hi VK6FUN,

i'm using ttuuxxxs qt-4.4.1 and compilation of qt4-apps (normally) does work.

http://www.murga-linux.com/puppy/viewtopic.php?p=227251

maybe this helps
aragon
VK6FUN
Posts: 120
Joined: Sat 18 Oct 2008, 13:11
Location: North Baandee, Western Australia

#8 Post by VK6FUN »

The tarball of svxlink can be found here
http://downloads.sourceforge.net/svxlin ... g_mirror=0
Its puppy 4.1 kernel is 2.6.26.16
The installation page is here
http://svxlink.sourceforge.net/install.php

If you can get this to work PLEASE tell me how ya did it

Vk6fun
aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#9 Post by aragon »

hi VK6FUN,

i will try to and report back.

cheers
aragon
aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#10 Post by aragon »

Hi VK6FUN,

to give a short report:

i've had several issues with it, so no luck until now. but i'll try again.

cheers
aragon
VK6FUN
Posts: 120
Joined: Sat 18 Oct 2008, 13:11
Location: North Baandee, Western Australia

#11 Post by VK6FUN »

TNX! aragon you are truly a puppy trainer of rare perseverence.

I got it to compile on Ubuntu Hardy no probs.

The missing ingredient is "libqt3-mt-dev"

How to make an equivalent puppy lib set is beyond me <8*{

cheers and 73deVK6FUN

==========================================

"you can never have too many radios"
VK6FUN
Posts: 120
Joined: Sat 18 Oct 2008, 13:11
Location: North Baandee, Western Australia

#12 Post by VK6FUN »

I have managed to get the qt3-mt-dev library working on puppy.
Herre's what I did:
In my ubuntu hardy installation I found /usr/share/doc/qt3-mt-dev/README.debian

Here was the clue. The libs were in /usr/share/qt3
so I copied that directory, along with various stuff from /usr/include and /usr/lib (mainly symlinks) to puppy and bingo!

anyway if anyone wants more details of this fix let me know. I guess it would be trivial to make a pet but I dunno how to do that yet...

So stay tuned for v1 of "PuppyLink" It's nearly ready to release.....

cheers and 73deVK6FUN
Pete
bsawtelle
Posts: 23
Joined: Wed 07 Nov 2007, 02:52

How to get qtlib dependent stuff to compile?

#13 Post by bsawtelle »

Hi Pete

If you need a beta tester, let me know. I'm very interested in getting QTeL running under Puppy. I've used it on the Knoppix distro, seems to work well.

tnx es 73

Bruce -W3NJ (Austin, TX)
VK6FUN
Posts: 120
Joined: Sat 18 Oct 2008, 13:11
Location: North Baandee, Western Australia

#14 Post by VK6FUN »

Yes I have built a "PuppyLink v 0.0.1". The iso is presently 129M and I am looking for somewhere to upload it and announce it and so on. Any help appreciated.

I have not been able to do much coz the sound card in this Dell D600 is cactus. I'm running 4.1 Whats the best way to get the iso to you?

I was going to see if my local repeater group (warg) were interested in assisting. V0.0.1 has been built with warg wallpaper ;-)

I would also like to experiment with pruning puppy to the max so that svxlink could be embedded in repeater controllers. A 50M iso would be a target.

cheers
73deVK6FUN
Pete

"ya can't have too many radios"
bsawtelle
Posts: 23
Joined: Wed 07 Nov 2007, 02:52

qtel iso

#15 Post by bsawtelle »

Hi Pete,

Glad to hear you have a proto version running!

I have a Roadrunner account, but it's limited to 100MB total and I have a bunch there already.

Is there a "dev-only" area on ibiblio.org that will take "pre-baked" SW (I'm new to the Linux/Puppy development activities, so this may not be an option).

Worst case, I know my Roadrunner account can take 20MB email attachments if you can split it up....I know, pretty lame, but I've done this before) ;-)
VK6FUN
Posts: 120
Joined: Sat 18 Oct 2008, 13:11
Location: North Baandee, Western Australia

#16 Post by VK6FUN »

I should be able to get warg to host it. I'm working on it. just a little bit of jiggery-pokery and red tape I hope and then it should be up STAY TUNED.

Pete
bsawtelle
Posts: 23
Joined: Wed 07 Nov 2007, 02:52

How to get qtlib dependent stuff to compile?

#17 Post by bsawtelle »

Hi Pee

How's the "beta testing" going?
VK6FUN
Posts: 120
Joined: Sat 18 Oct 2008, 13:11
Location: North Baandee, Western Australia

#18 Post by VK6FUN »

stand by! its close.
the warg webmaster has replied positively to my request.
I have snail-mailed the cd to him this morning.
give it a few days. as soon as I have a download url we're in business!!
I will announce it here and on the other forums as soon as I know.

cheers from vk6fun Pete
VK6FUN
Posts: 120
Joined: Sat 18 Oct 2008, 13:11
Location: North Baandee, Western Australia

#19 Post by VK6FUN »

OK the url is here http://www.warg.org.au/puppylink/puppylink-0.0.1.iso ENJOY!!
please let me know how you go

cheers

73deVK6FUN
bsawtelle
Posts: 23
Joined: Wed 07 Nov 2007, 02:52

Puppylink 0.0.1 downloaded and running!!

#20 Post by bsawtelle »

Hi Pete,

Well, it took a while to get the file downloaded from the other side of the world, but I burned the CD and it's running good. Have had a few video/crash issues, but I suspect it's on my end. Will play with it some more. If you're interested, we can set up a time to have a "qtel QSO".

If you have any plans to make this a standalone binary, I'd sure be interested. Would like to ahve an "all-in-one" with fldigi,fl-logbook, and qtel...the ultimate Linux ham radio CD!!

tnx agn for all the efforts and 73!!

Bruce
Post Reply