How to "configure, make, make install" in lupu5.28?

Booting, installing, newbie
Message
Author
abu_ilya
Posts: 71
Joined: Thu 08 May 2008, 13:59

How to "configure, make, make install" in lupu5.28?

#1 Post by abu_ilya »

I'd like to run/compile some programs in puppy-linux lupu-5.28.005 for which there are no ubuntu lucid packages available e.g. spice3 and ngspice. Therefore I should be able to run "the old three":
./configure
make
make install

Which lucid-packages do I have to install extra to accomplish this?

thanks in advance
abu ilya

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

Abu- the devx pkg is in the folder for your distro. Ngspice you'll find in the repo..

abu_ilya
Posts: 71
Joined: Thu 08 May 2008, 13:59

#3 Post by abu_ilya »

Semme wrote:Abu- the devx pkg is in the folder for your distro. Ngspice you'll find in the repo..
ngspice is indeed in the repo but I do need to compile it from source because otherwise certain extensions I want won't work.
I'll try out to use the sfs you mentioned, thanks
best regards,

abu_ilya
Last edited by abu_ilya on Fri 25 May 2012, 14:43, edited 1 time in total.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#4 Post by Semme »

Then that devx pkg has your number!

abu_ilya
Posts: 71
Joined: Thu 08 May 2008, 13:59

#5 Post by abu_ilya »

Semme wrote:Then that devx pkg has your number!
I proceeded as follows:
1. downloaded lupu_devx_528-4.sfs
2. mounted it by clicking on it
3. cd /mnt/+root+lupu_devx_528-4.sfs
4. cp -a * /

got a few warnings but after this I could go through ./configure make make install

Now I have a question, as I don't want the devx pkg permanently on my system
because it takes a lot of space, isn't there a better way to use just the mounted
+root+lupu_devx_528-4.sfs without actually copying it like I did?
Once I have a package compiled I want to remaster puppy but I don't want to take devx-files in.


thanks in advance
abu_ilya

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#6 Post by Semme »

Sounds like you're installed on the hard disk..? Can't you stick it somewhere till you're done, then toss it?

Since I can't reason a hd install, it might be better for someone like <dingding> RJBrewer to answer..

abu_ilya
Posts: 71
Joined: Thu 08 May 2008, 13:59

#7 Post by abu_ilya »

Semme wrote:Sounds like you're installed on the hard disk..? Can't you stick it somewhere till you're done, then toss it?

Since I can't reason a hd install, it might be better for someone like <dingding> RJBrewer to answer..
No, I didn't install on a hd, I just booted puppy-lupu from CD and then ran everything in RAM.
My question is: how can I temporary use the sfs so I can run "./configure make make install" for some programs and afterwards remaster without actually having the sfs included in the new version

thanks
abu_ilya

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#8 Post by Semme »

Then- any reason you're not run'n a frugal install? Doesn't have to be big, but big enough for both..

User avatar
plankenstein
Posts: 120
Joined: Sun 16 Nov 2008, 00:49
Location: Arkansas, USA

#9 Post by plankenstein »

Lupu has a sfs loader. Just right click on the sfs and choose "sfs loader" or linker, can't remember which it has right now. Either way it will load the sfs, and then after you're done compiling you just right click on the sfs again and choose to unload it and all is back to normal.
I carefully plan ALL my random acts! :lol:

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#10 Post by Semme »

Big, as in partition.. big enough for your savefile (/mnt/home) and your devx- also stored on home.

What've ya got there- some sort've a Win setup where she's hungrily gobbled up the entire disk?

abu_ilya
Posts: 71
Joined: Thu 08 May 2008, 13:59

#11 Post by abu_ilya »

plankenstein wrote:Lupu has a sfs loader. Just right click on the sfs and choose "sfs loader" or linker, can't remember which it has right now. Either way it will load the sfs, and then after you're done compiling you just right click on the sfs again and choose to unload it and all is back to normal.
I know that (see below) but the problem is I can't compile the code then ( ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/ngspice-24':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
.) and the only solution I have found to that problem until now is step 4 which I would like to avoid:
I proceeded as follows:
0. boot from lupu5.28 cd
1. downloaded lupu_devx_528-4.sfs
2. mounted it by clicking on it
3. cd /mnt/+root+lupu_devx_528-4.sfs
4. cp -a * /

So my question remains the same: how can I run the trio "./configure make make install" _without_ having to perform (step 3) and step 4

If I could do that, than it's just a matter of unmounten the sfs before remastering

abu_ilya
Last edited by abu_ilya on Sat 26 May 2012, 08:56, edited 4 times in total.

abu_ilya
Posts: 71
Joined: Thu 08 May 2008, 13:59

#12 Post by abu_ilya »

Semme wrote:Then- any reason you're not run'n a frugal install? Doesn't have to be big, but big enough for both..
What do you mean by "frugal install"?

thanks
abu ilya

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#13 Post by Semme »

Well, when ya go to shutdown doesn't Pup ask whether you'd like to create a savefile?

If you're on Pup now, dump an: fdisk -l

abu_ilya
Posts: 71
Joined: Thu 08 May 2008, 13:59

#14 Post by abu_ilya »

Semme wrote:Well, when ya go to shutdown doesn't Pup ask whether you'd like to create a savefile?

If you're on Pup now, dump an: fdisk -l
yes it does, but I never do that, I want it to run just from CD and not leave anything on harddisk

abu_ilya
Posts: 71
Joined: Thu 08 May 2008, 13:59

#15 Post by abu_ilya »

Semme wrote:Well, when ya go to shutdown doesn't Pup ask whether you'd like to create a savefile?

If you're on Pup now, dump an: fdisk -l
Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 58990 473835520 83 Linux
/dev/sda2 58990 60265 10240000 82 Linux swap / Solaris
/dev/sda3 * 60265 77825 141052768+ 83 Linux

I really don't get what this got to do with it? In my opinion it is just a matter of avoiding step 4, I'm now looking for a suitable --prefix path voor ./configure, but I still haven't found it :-(

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#16 Post by Semme »

Then look here under "Multisession CD/DVD." Personally- I can't see the problem with a savefile.. The devx is either on an ms disk or saved to one of those partitions. Pup you can keep in ram and avoid steps three'n four altogether by loading the devx in ram from where it's saved. I'm not sure how else to say it.. Here choose nocopy, then go'n try your make --help..
Attachments
nocopy.png
(28.79 KiB) Downloaded 245 times

abu_ilya
Posts: 71
Joined: Thu 08 May 2008, 13:59

#17 Post by abu_ilya »

Semme wrote:Then look here under "Multisession CD/DVD." Personally- I can't see the problem with a savefile.. The devx is either on an ms disk or saved to one of those partitions. make --help..
Well Semme, you surely are trying to help me, which I appreciate but
the devx-sfs surely is mounted in RAM too, so I only need the right --prefix
flag for ./configure then umount devx-sfs and then remaster puppy.



abu_ilya

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#18 Post by Semme »

Are you asking for an install directory.. something like /usr/local?

I'm beginning to think I'm not quite sure what you're after here..

abu_ilya
Posts: 71
Joined: Thu 08 May 2008, 13:59

#19 Post by abu_ilya »

Semme wrote:Are you asking for an install directory.. something like /usr/local?

I'm beginning to think I'm not quite sure what you're after here..
When I mounted the lupu_devx_528-4.sfs by clicking on it.
I thought it should be possible to run the trio "./configure make make install"
if I gave the right prefix to the "./configure"-command
e.g. ./configure --prefix=/mnt/+root+lupu_devx_528-4.sfs/usr/bin.
but that seems not the case.

Since I keep getting the message
"configure: error: no acceptable C compiler found in $PATH"
I have been trying to extend the PATH like this:
export PATH=$PATH:/mnt/+root+lupu_devx_528-4.sfs/usr/bin/
before running the ./configure but to no avail :-(

So the question remains: how can one make the trio "./configure make make install" work on a puppy-linux-lupu which is booted from cd and runs totally in RAM and which has lupu_devx_528-4.sfs mounted in /mnt/+root+lupu_devx_528-4.sfs (also in RAM)

thanks for all the help offered thus far (and especially for all the patience you had with me)

abu_ilya
Last edited by abu_ilya on Sun 27 May 2012, 20:19, edited 1 time in total.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#20 Post by Semme »

Question: WHERE is your devx.. also dwnldd while in ram.. or stored somewhere'n then- loaded to ram?

Post Reply