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 Sun 23 Nov 2014, 15:10
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to install qt3 libraries, DDD debugger in puppy?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Author Message
archwndas

Joined: 24 Jun 2006
Posts: 75

PostPosted: Thu 10 Aug 2006, 10:38    Post subject:  How to install qt3 libraries, DDD debugger in puppy?  

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.
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4796
Location: Manila

PostPosted: Thu 10 Aug 2006, 19:52    Post subject: package manager  

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? Get the sfs (English only).
Back to top
View user's profile Send private message 
archwndas

Joined: 24 Jun 2006
Posts: 75

PostPosted: Fri 11 Aug 2006, 09:27    Post subject:  

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.
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4385
Location: Southeast Georgia, USA

PostPosted: Tue 17 Oct 2006, 21:38    Post subject: Re: package manager  

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

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Wed 18 Oct 2006, 00:01    Post subject:  

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

What Puppyversion do you use?

Mark
Back to top
View user's profile Send private message Visit poster's website 
edoc


Joined: 07 Aug 2005
Posts: 4385
Location: Southeast Georgia, USA

PostPosted: Wed 18 Oct 2006, 07:45    Post subject:  

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

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Wed 18 Oct 2006, 08:35    Post subject:  

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
Back to top
View user's profile Send private message Visit poster's website 
edoc


Joined: 07 Aug 2005
Posts: 4385
Location: Southeast Georgia, USA

PostPosted: Wed 18 Oct 2006, 10:18    Post subject:  

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('Confused')

Thanks! doc

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Wed 18 Oct 2006, 10:20    Post subject:  

do you use a full harddisk-installation?
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Wed 18 Oct 2006, 10:32    Post subject:  

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:

 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
Back to top
View user's profile Send private message Visit poster's website 
edoc


Joined: 07 Aug 2005
Posts: 4385
Location: Southeast Georgia, USA

PostPosted: Wed 18 Oct 2006, 10:47    Post subject:  

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

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Wed 18 Oct 2006, 11:08    Post subject:  

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
Back to top
View user's profile Send private message Visit poster's website 
edoc


Joined: 07 Aug 2005
Posts: 4385
Location: Southeast Georgia, USA

PostPosted: Wed 18 Oct 2006, 11:19    Post subject:  

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?

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Wed 18 Oct 2006, 11:29    Post subject:  

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


No, no CD is required after installation.

Quote:
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
Back to top
View user's profile Send private message Visit poster's website 
edoc


Joined: 07 Aug 2005
Posts: 4385
Location: Southeast Georgia, USA

PostPosted: Thu 19 Oct 2006, 20:05    Post subject:  

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:

 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/ ?

Quote:
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

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0911s ][ Queries: 12 (0.0106s) ][ GZIP on ]