How to install qt3 libraries, DDD debugger in puppy?

Using applications, configuring, problems
Post Reply
Message
Author
archwndas
Posts: 77
Joined: Sat 24 Jun 2006, 16:12

How to install qt3 libraries, DDD debugger in puppy?

#1 Post by archwndas »

Dear puppy users,
I would like to have a little bit more than what dev_xxx.sfs provides.
Namely I develop using QT3. So far I haven't found out how to install
QT3 in puppy. More over I would like to install the DDD debugger.
Unfortunately I do not know how and I haven't found any references.
It seems that nobody is interested.

Don't you think that since there are some people providing dev_xxx.sfs
to encouraged developers to stay in puppy, shouldn't those people
enhance dev_xxx.sfs or at least show us the way how we can compile
our personal dev_xxx.sfs including there whatever we need?

Thanks in advance!
ARCHWN.

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

package manager

#2 Post by raffy »

Adding qt should be easy, just run package manager, and choose pupget. It should give you the list of pupgets, which you choose then install. Internet connection is assumed available by the package manager, but there is also an option for locating your pre-downloaded packages locally. The repository is ibiblio, see the "packages" folder of Puppy there.
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

archwndas
Posts: 77
Joined: Sat 24 Jun 2006, 16:12

#3 Post by archwndas »

I will try this and I will let you know. But what about the DDD debugger?
are there any precompiled packages for it? I haven't seen anything
around.

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

Re: package manager

#4 Post by edoc »

raffy wrote:Adding qt should be easy, just run package manager, and choose pupget. It should give you the list of pupgets, which you choose then install. Internet connection is assumed available by the package manager, but there is also an option for locating your pre-downloaded packages locally. The repository is ibiblio, see the "packages" folder of Puppy there.
Downloaded qt-3.3.6 Libraries from the Pupget list, nothing else seen re. QT there.

Rebooted.

No evidence of QT anywhere.

I need qmake to load and run an app.

What am I missing, please?

Thanks! doc
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#5 Post by MU »

edoc,
qt is in /usr/lib.
qmake is in the developer addon devx_2xx.sfs.

What Puppyversion do you use?

Mark

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#6 Post by edoc »

MU wrote:edoc,
qt is in /usr/lib.
qmake is in the developer addon devx_2xx.sfs.
What Puppyversion do you use?
Mark
Ooops, sorry. Will add that to my Sig. Been trying to remember to manually add it
to every post.

Puppy 2.10r1

Thanks! doc
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post by MU »

you can download the developper-addon from here:
http://puptrix.org/Puppylinux/2.10/compiler-addon/

Place it in /mnt/home and reboot.

Then rename the existing folder
/usr/lib/qt
to
/usr/lib/qt-backup

Then create a symbolic link with these comands in a consolewindow:
ln -s /usr/lib/qt-renamed /usr/lib/qt
ldconfig

Now you should have qmake.
Mark

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#8 Post by edoc »

MU wrote:you can download the developper-addon from here:
http://puptrix.org/Puppylinux/2.10/compiler-addon/

Place it in /mnt/home and reboot.

Mark
I have downloaded the file but am stuck.

I don't have a /mnt/home

It has not been created by Puppy 2.10r1 on either of my desktops nor on my laptop.

Is there a way to force it to be created?

Is it some sort of symbolic link?

I always have some sort of odd complication! javascript:emoticon(':?')

Thanks! doc
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#9 Post by MU »

do you use a full harddisk-installation?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#10 Post by MU »

if yes:

You would need these steps to copy the files to your harddisk:

Boot from live cd

Now enter this in a consolewindow, where
/YYY/ is the folder with your devx-qt-renamed_210.sfs

Code: Select all

 mkdir /tmp/devx 
 mount -o loop /YYY/devx-qt-renamed_210.sfs /tmp/devx/ 
 cp -ax /tmp/devx/* / 
 umount /tmp/devx 
Then reboot without the CD.

Backgroundinfo:
http://www.murga.org/~puppy/viewtopic.php?t=9652

Mark

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#11 Post by edoc »

MU wrote:do you use a full harddisk-installation?
Yes. I will do the long-way-around install of qt that you provided.

Have you heard of others having the problem with the missing /mnt/home?

Sure makes adding apps a huge nuisance.

I read the background post you linked but it didn't help me to understand
why one cannot manually create and link a /mnt/home and why it is missing.

Is this problem addressed in 2.11?

I really appreciate everyone's helpfulness and patience on the Puppy Forum!

Thanks! doc
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#12 Post by MU »

Puppy was created as a CD-based system.
As a CD is write-protected, a trick has to be used, to "mix" the content of different sources.
This trick uses a driver called unionfs.
So you can load /usr from CD, but also write to it in the pup_save.3fs.
To merge an additional source like the devx, also unionfs is required.

Now when you install it to harddisk (full installation), you loose all the benefits of this driver.
You have a "normal" linux, with all disadvantages.

For this reason I use a "frugal" install, where Puppy runs as a "mix" of CD-based system and harddisk-installation (which works without the CD).

Like this I have a very fast harddisk-based system, with the advantages of unionfs.
I can use devx...sfs without problem without copying all files to my harddisk.

Mark

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#13 Post by edoc »

MU wrote:Puppy was created as a CD-based system.
As a CD is write-protected, a trick has to be used, to "mix" the content of different sources.
This trick uses a driver called unionfs.
So you can load /usr from CD, but also write to it in the pup_save.3fs.
To merge an additional source like the devx, also unionfs is required.

Now when you install it to harddisk (full installation), you loose all the benefits of this driver.
You have a "normal" linux, with all disadvantages.

For this reason I use a "frugal" install, where Puppy runs as a "mix" of CD-based system and harddisk-installation (which works without the CD).

Like this I have a very fast harddisk-based system, with the advantages of unionfs.
I can use devx...sfs without problem without copying all files to my harddisk.

Mark
Does this require keeping the Puppy ISO CD in the drive at all times?

Or, if one boots from a CF, SD, or USB memory stick one keeps that device
inserted at all times?

I worry about mechanical devices, especially CD drives. They use lots of
energy, are vulnerable to dirt and dust and damage (are are the CD's themselves).
It is also seems to create one more point of potential failure and complication.

Is anything lost from the advantages you describe re. a "frugal" install if one uses
sd, cf, or a USB memory stick?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#14 Post by MU »

Does this require keeping the Puppy ISO CD in the drive at all times?
No, no CD is required after installation.
Is anything lost from the advantages you describe re. a "frugal" install if one uses
sd, cf, or a USB memory stick?
Have not tried that yet myself.

Mark

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#15 Post by edoc »

MU wrote:if yes:

You would need these steps to copy the files to your harddisk:

Boot from live cd

Now enter this in a consolewindow, where
/YYY/ is the folder with your devx-qt-renamed_210.sfs

Code: Select all

 mkdir /tmp/devx 
 mount -o loop /YYY/devx-qt-renamed_210.sfs /tmp/devx/ 
 cp -ax /tmp/devx/* / 
 umount /tmp/devx 
Then reboot without the CD.

Backgroundinfo:
http://www.murga.org/~puppy/viewtopic.php?t=9652

Mark
Here are my results from following the series of rxvt commands you recommended ...

mkdir /tmp/devx

OK.

mount -o loop /YYY/devx-qt-renamed_210.sfs /tmp/devx/

OK

cp -ax /tmp/devx/* /

ERROR!

cp: Cannot create regular file '/usr/bin/strings': Text file busy

Huh??

Do I need to follow the additional steps you mentioned when you thought I could copy the
.sfs file to /mnt/home/ ?
Then rename the existing folder
/usr/lib/qt
to
/usr/lib/qt-backup

Then create a symbolic link with these comands in a consolewindow:
ln -s /usr/lib/qt-renamed /usr/lib/qt
ldconfig

Now you should have qmake.
Mark
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#16 Post by MU »

someone else mentioned, that there 4 files saying they were busy, but it worked anyway as far as I remember.
Mark

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#17 Post by edoc »

MU wrote:someone else mentioned, that there 4 files saying they were busy, but it worked anyway as far as I remember.
Mark
OK, I will ignore it for the moment. :-)

Need I go ahead and do these additional steps?

Then rename the existing folder
/usr/lib/qt
to
/usr/lib/qt-backup

Then create a symbolic link with these comands in a consolewindow:
ln -s /usr/lib/qt-renamed /usr/lib/qt
ldconfig

Now you should have qmake.
Mark
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

Guest

#18 Post by Guest »

MU wrote:Puppy was created as a CD-based system.
As a CD is write-protected, a trick has to be used, to "mix" the content of different sources.
This trick uses a driver called unionfs.
So you can load /usr from CD, but also write to it in the pup_save.3fs.
To merge an additional source like the devx, also unionfs is required.

Now when you install it to harddisk (full installation), you loose all the benefits of this driver.
You have a "normal" linux, with all disadvantages.

For this reason I use a "frugal" install, where Puppy runs as a "mix" of CD-based system and harddisk-installation (which works without the CD).

Like this I have a very fast harddisk-based system, with the advantages of unionfs.
I can use devx...sfs without problem without copying all files to my harddisk.

Mark
Hey MU,

If you do a hard drive install using unionfs for the partition formats, isn't this driver loaded automagicly on boot??? :)

Bob 8)

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#19 Post by MU »

Edoc: yes.

---------------
Bob: no idea.
We just got many reports from users, that the mounting does not take place automatically.

I don't know enough about the internals to tell you more :oops:
Mark

Post Reply