Page 1 of 1

How to install qt3 libraries, DDD debugger in puppy?

Posted: Thu 10 Aug 2006, 14:38
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.

package manager

Posted: Thu 10 Aug 2006, 23:52
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.

Posted: Fri 11 Aug 2006, 13:27
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.

Re: package manager

Posted: Wed 18 Oct 2006, 01:38
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

Posted: Wed 18 Oct 2006, 04:01
by MU
edoc,
qt is in /usr/lib.
qmake is in the developer addon devx_2xx.sfs.

What Puppyversion do you use?

Mark

Posted: Wed 18 Oct 2006, 11:45
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

Posted: Wed 18 Oct 2006, 12:35
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

Posted: Wed 18 Oct 2006, 14:18
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

Posted: Wed 18 Oct 2006, 14:20
by MU
do you use a full harddisk-installation?

Posted: Wed 18 Oct 2006, 14:32
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

Posted: Wed 18 Oct 2006, 14:47
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

Posted: Wed 18 Oct 2006, 15:08
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

Posted: Wed 18 Oct 2006, 15:19
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?

Posted: Wed 18 Oct 2006, 15:29
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

Posted: Fri 20 Oct 2006, 00:05
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

Posted: Fri 20 Oct 2006, 10:30
by MU
someone else mentioned, that there 4 files saying they were busy, but it worked anyway as far as I remember.
Mark

Posted: Fri 20 Oct 2006, 20:40
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

Posted: Fri 20 Oct 2006, 20:45
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)

Posted: Fri 20 Oct 2006, 20:55
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