Discussion:
[BL] compiling TOR
Indelible Bonobo
2012-10-11 18:28:40 UTC
Permalink
I installed BasLin on a Pentium I 75 hoping to be able to compile TOR
and run that computer as a non-exit relay. I'm hoping someone can
offer some tips as to which packages must I install to be able to
compile some modern programs.

I installed gcc and the other tools from Slackware 4.0 as described at
http://www.consumedconsumer.org/2012/10/linux-tor-relay-on-pentium-75.html
and when trying to compile I get a bunch of complaints from
./configure (listed all at
http://www.linuxquestions.org/questions/showthread.php?p=4803018#post4803018
)

Perhaps the most significant complaint, in my judgement, is about the
existing grep (via Busybox, if I'm not mistaken) being not up to par.
I tried upgrading grep with grep.tgz from Slackware 4 and/or 9 but
unfortunately that caused pkg to malfunction. Now everytime I try to
install something I get an error in pkg (line 21 or so) stating that
no grep can be found. In retrospect, I should have perhaps just
updated Busybox.

I will reinstall everything, but to bring the box to a state that
allows compilation of Tor (and maybe other programs), what should I
install / upgrade?

[Hello everybody, this is my first post on this list. Hope your week
was super and your week-end.. even better :)]
sindi keesan
2012-10-11 19:23:10 UTC
Permalink
Take a look at pkg script and see where it is looking for grep, and
symlink the new grep to that location, or point the pkg script at it.
I am using BL2 so cannot check pkg right now.

A lot of programs will not compile with the tools from BL. One option is
to try to compile against uclibc. Read about that in the archive.

Welcome to our very-little-used mail list.

Sindi

On Thu, 11 Oct 2012, Indelible Bonobo wrote:

> I installed BasLin on a Pentium I 75 hoping to be able to compile TOR
> and run that computer as a non-exit relay. I'm hoping someone can
> offer some tips as to which packages must I install to be able to
> compile some modern programs.
>
> I installed gcc and the other tools from Slackware 4.0 as described at
> http://www.consumedconsumer.org/2012/10/linux-tor-relay-on-pentium-75.html
> and when trying to compile I get a bunch of complaints from
> ./configure (listed all at
> http://www.linuxquestions.org/questions/showthread.php?p=4803018#post4803018
> )
>
> Perhaps the most significant complaint, in my judgement, is about the
> existing grep (via Busybox, if I'm not mistaken) being not up to par.
> I tried upgrading grep with grep.tgz from Slackware 4 and/or 9 but
> unfortunately that caused pkg to malfunction. Now everytime I try to
> install something I get an error in pkg (line 21 or so) stating that
> no grep can be found. In retrospect, I should have perhaps just
> updated Busybox.
>
> I will reinstall everything, but to bring the box to a state that
> allows compilation of Tor (and maybe other programs), what should I
> install / upgrade?
>
> [Hello everybody, this is my first post on this list. Hope your week
> was super and your week-end.. even better :)]
> -----------------------
> BasicLinux mailing list
> -----------------------
> http://www.basiclinux.info
> http://distro.ibiblio.org/baslinux/
> ------------------------------------
> To exit, send subject=unsubscribe to
> baslinux-***@lists.ibiblio.org
>

Sindi Keesan
sindi keesan
2012-10-11 19:25:31 UTC
Permalink
Try the pulp version of puppy linux, which has a precompiled TOR.
Pulp boots into 10MB memory and if you exit (or don't load) the GUI,
somewhat less. It supports much more modern software.

Sindi Keesan
Ian
2012-10-12 08:21:23 UTC
Permalink
Sindi, is there a mailing list, like this one for puppy?

Ian.
On 11 Oct 2012 at 19:25, sindi keesan wrote:

> Try the pulp version of puppy linux, which has a precompiled TOR.
> Pulp boots into 10MB memory and if you exit (or don't load) the GUI,
> somewhat less. It supports much more modern software.
>
> Sindi Keesan
> -----------------------
> BasicLinux mailing list
> -----------------------
> http://www.basiclinux.info
> http://distro.ibiblio.org/baslinux/
> ------------------------------------
> To exit, send subject=unsubscribe to
> baslinux-***@lists.ibiblio.org
sindi keesan
2012-10-12 10:58:16 UTC
Permalink
Forum. http://murga-linux.com/puppy
Search on pulp linux. There is one discussion item with a link to the
latest location of the .iso file. I can explain how to boot the 'frugal'
installation with loadlin or lilo. Later versions require grub to boot.

On Fri, 12 Oct 2012, Ian wrote:

> Sindi, is there a mailing list, like this one for puppy?
>
> Ian.
> On 11 Oct 2012 at 19:25, sindi keesan wrote:
>
>> Try the pulp version of puppy linux, which has a precompiled TOR.
>> Pulp boots into 10MB memory and if you exit (or don't load) the GUI,
>> somewhat less. It supports much more modern software.
Indelible Bonobo
2012-10-12 17:10:57 UTC
Permalink
Thank you, Sindi.

I figured out how grep was installed and fixed it about 20 minutes
after posting :) (deleted the existing executable and recreated the
link to busybox in /bin with ln -s )

I tried getting more info on Pulp, but it is mostly in German. I guess
I'd have to find out through trial & error how it works, and that
wouldn't be so easy b/c this computer has the kb circuitry fried so I
have to pull out the HD and install on another computer. Also, I'm
thinking that the Tor provided in Pulp is not update-able via repos,
which would through me into the compilation dilemma again.

It is important to be able to update Tor especially on an always on
machine as I plan this to be, b/c exploits, bugs and memory leaks are
discovered and corrected all the time. The kernel is otherwise quite
stable, even the old ones.

I will look up the archive about uclibc, but right now I'm thinking
that a better way would be to cross-compile, since I'm running linux
in other environments where compilation is not easy (e.g., my NAS). I
tried searching the archive for this but could not find much.

Another suggestion thrown my way was Linux from Scratch:
http://www.linuxfromscratch.org/

Cheers,
Indelible Bonobo


On Fri, Oct 12, 2012 at 12:00 PM, <baslinux-***@lists.ibiblio.org> wrote:
> Send BasLinux mailing list submissions to
> ***@lists.ibiblio.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.ibiblio.org/mailman/listinfo/baslinux
> or, via email, send a message with subject or body 'help' to
> baslinux-***@lists.ibiblio.org
>
> You can reach the person managing the list at
> baslinux-***@lists.ibiblio.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of BasLinux digest..."
>
>
> Today's Topics:
>
> 1. compiling TOR (Indelible Bonobo)
> 2. Re: compiling TOR (sindi keesan)
> 3. Re: compiling TOR (sindi keesan)
> 4. Re: compiling TOR (Ian)
> 5. Re: compiling TOR (sindi keesan)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 11 Oct 2012 14:28:40 -0400
> From: Indelible Bonobo <***@gmail.com>
> Subject: [BL] compiling TOR
> To: ***@lists.ibiblio.org
> Message-ID:
> <CAATP9+e9Jm_R-p60-4yvYfD1ju6sUV26Fq1=keZkVcY-***@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I installed BasLin on a Pentium I 75 hoping to be able to compile TOR
> and run that computer as a non-exit relay. I'm hoping someone can
> offer some tips as to which packages must I install to be able to
> compile some modern programs.
>
> I installed gcc and the other tools from Slackware 4.0 as described at
> http://www.consumedconsumer.org/2012/10/linux-tor-relay-on-pentium-75.html
> and when trying to compile I get a bunch of complaints from
> ./configure (listed all at
> http://www.linuxquestions.org/questions/showthread.php?p=4803018#post4803018
> )
>
> Perhaps the most significant complaint, in my judgement, is about the
> existing grep (via Busybox, if I'm not mistaken) being not up to par.
> I tried upgrading grep with grep.tgz from Slackware 4 and/or 9 but
> unfortunately that caused pkg to malfunction. Now everytime I try to
> install something I get an error in pkg (line 21 or so) stating that
> no grep can be found. In retrospect, I should have perhaps just
> updated Busybox.
>
> I will reinstall everything, but to bring the box to a state that
> allows compilation of Tor (and maybe other programs), what should I
> install / upgrade?
>
> [Hello everybody, this is my first post on this list. Hope your week
> was super and your week-end.. even better :)]
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 11 Oct 2012 19:23:10 +0000 (UTC)
> From: sindi keesan <***@SDF.ORG>
> Subject: Re: [BL] compiling TOR
> To: ***@lists.ibiblio.org
> Message-ID: <***@sdf.lonestar.org>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> Take a look at pkg script and see where it is looking for grep, and
> symlink the new grep to that location, or point the pkg script at it.
> I am using BL2 so cannot check pkg right now.
>
> A lot of programs will not compile with the tools from BL. One option is
> to try to compile against uclibc. Read about that in the archive.
>
> Welcome to our very-little-used mail list.
>
> Sindi
>
> On Thu, 11 Oct 2012, Indelible Bonobo wrote:
>
>> I installed BasLin on a Pentium I 75 hoping to be able to compile TOR
>> and run that computer as a non-exit relay. I'm hoping someone can
>> offer some tips as to which packages must I install to be able to
>> compile some modern programs.
>>
>> I installed gcc and the other tools from Slackware 4.0 as described at
>> http://www.consumedconsumer.org/2012/10/linux-tor-relay-on-pentium-75.html
>> and when trying to compile I get a bunch of complaints from
>> ./configure (listed all at
>> http://www.linuxquestions.org/questions/showthread.php?p=4803018#post4803018
>> )
>>
>> Perhaps the most significant complaint, in my judgement, is about the
>> existing grep (via Busybox, if I'm not mistaken) being not up to par.
>> I tried upgrading grep with grep.tgz from Slackware 4 and/or 9 but
>> unfortunately that caused pkg to malfunction. Now everytime I try to
>> install something I get an error in pkg (line 21 or so) stating that
>> no grep can be found. In retrospect, I should have perhaps just
>> updated Busybox.
>>
>> I will reinstall everything, but to bring the box to a state that
>> allows compilation of Tor (and maybe other programs), what should I
>> install / upgrade?
>>
>> [Hello everybody, this is my first post on this list. Hope your week
>> was super and your week-end.. even better :)]
>> -----------------------
>> BasicLinux mailing list
>> -----------------------
>> http://www.basiclinux.info
>> http://distro.ibiblio.org/baslinux/
>> ------------------------------------
>> To exit, send subject=unsubscribe to
>> baslinux-***@lists.ibiblio.org
>>
>
> Sindi Keesan
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 11 Oct 2012 19:25:31 +0000 (UTC)
> From: sindi keesan <***@SDF.ORG>
> Subject: Re: [BL] compiling TOR
> To: ***@lists.ibiblio.org
> Message-ID: <***@sdf.lonestar.org>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> Try the pulp version of puppy linux, which has a precompiled TOR.
> Pulp boots into 10MB memory and if you exit (or don't load) the GUI,
> somewhat less. It supports much more modern software.
>
> Sindi Keesan
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 12 Oct 2012 09:21:23 +0100
> From: "Ian" <***@freedomnet.org.uk>
> Subject: Re: [BL] compiling TOR
> To: sindi keesan <***@SDF.ORG>,
> ***@lists.ibiblio.org
> Message-ID: <***@info.freedomnet.org.uk>
> Content-Type: text/plain; charset=US-ASCII
>
> Sindi, is there a mailing list, like this one for puppy?
>
> Ian.
> On 11 Oct 2012 at 19:25, sindi keesan wrote:
>
>> Try the pulp version of puppy linux, which has a precompiled TOR.
>> Pulp boots into 10MB memory and if you exit (or don't load) the GUI,
>> somewhat less. It supports much more modern software.
>>
>> Sindi Keesan
>> -----------------------
>> BasicLinux mailing list
>> -----------------------
>> http://www.basiclinux.info
>> http://distro.ibiblio.org/baslinux/
>> ------------------------------------
>> To exit, send subject=unsubscribe to
>> baslinux-***@lists.ibiblio.org
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Fri, 12 Oct 2012 10:58:16 +0000 (UTC)
> From: sindi keesan <***@SDF.ORG>
> Subject: Re: [BL] compiling TOR
> To: ***@lists.ibiblio.org
> Message-ID: <***@sdf.lonestar.org>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> Forum. http://murga-linux.com/puppy
> Search on pulp linux. There is one discussion item with a link to the
> latest location of the .iso file. I can explain how to boot the 'frugal'
> installation with loadlin or lilo. Later versions require grub to boot.
>
> On Fri, 12 Oct 2012, Ian wrote:
>
>> Sindi, is there a mailing list, like this one for puppy?
>>
>> Ian.
>> On 11 Oct 2012 at 19:25, sindi keesan wrote:
>>
>>> Try the pulp version of puppy linux, which has a precompiled TOR.
>>> Pulp boots into 10MB memory and if you exit (or don't load) the GUI,
>>> somewhat less. It supports much more modern software.
>
>
> ------------------------------
>
> _______________________________________________
> -----------------------
> BasicLinux mailing list
> -----------------------
> http://www.basiclinux.info
> http://distro.ibiblio.org/baslinux/
> -------------------------------
> To exit, send subject=unsubscribe to
> baslinux-***@lists.ibiblio.org
>
>
> End of BasLinux Digest, Vol 112, Issue 2
> ****************************************
sindi keesan
2012-10-12 17:55:30 UTC
Permalink
On Fri, 12 Oct 2012, Indelible Bonobo wrote:

> Thank you, Sindi.
>
> I figured out how grep was installed and fixed it about 20 minutes
> after posting :) (deleted the existing executable and recreated the
> link to busybox in /bin with ln -s )

I thought you wanted the newer/fuller grep for something.

> I tried getting more info on Pulp, but it is mostly in German. I guess
> I'd have to find out through trial & error how it works, and that
> wouldn't be so easy b/c this computer has the kb circuitry fried so I
> have to pull out the HD and install on another computer. Also, I'm
> thinking that the Tor provided in Pulp is not update-able via repos,
> which would through me into the compilation dilemma again.

The info on pulp at the forum is in English.
http://www.murga-linux.com/puppy search on pulp
Packages for Puppy tend to be whatever the users decide to offer.
Search the forum (or a search engine) for Tor and puppy. Usually puppy
packages will work with pulp, unless they require gtk > 2.0.

To install puppy copy the main .sfs file to any ext2 partition, and the
kernel and initrd to a fat32 partition, and boot with loadlin. Or use
lilo. Email me offlist for details. Then any changes you make go into a
second file automatically when you exit.

> It is important to be able to update Tor especially on an always on
> machine as I plan this to be, b/c exploits, bugs and memory leaks are
> discovered and corrected all the time. The kernel is otherwise quite
> stable, even the old ones.

A search on puppy linux tor got me a puppy linux wika listing three
versions of tor (37 38 39) from 2012, Jun Aug Sep. Someone is keeping up
with it. The package manager will fetch the dependencies for you.


> I will look up the archive about uclibc, but right now I'm thinking
> that a better way would be to cross-compile, since I'm running linux
> in other environments where compilation is not easy (e.g., my NAS). I
> tried searching the archive for this but could not find much.

Let us know how it goes.

> Another suggestion thrown my way was Linux from Scratch:
> http://www.linuxfromscratch.org/
Have fun with this.
Sindi

> Cheers,
> Indelible Bonobo
Loading...