niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » SGI/IRIX
Privoxy on my Indy
Post new topic   Reply to topic Page 1 of 1 [11 Posts] View previous topic :: View next topic
Author Message
T A
*nix forums beginner


Joined: 29 Nov 2005
Posts: 6

PostPosted: Tue Dec 06, 2005 1:23 pm    Post subject: Re: NetBSD pkgsrc in Irix (was: Privoxy on my Indy) Reply with quote

In article <slrndp9945.boc.john@vector.os2.dhs.org>,
John Thompson <john@vector.os2.dhs.org> writes:
[BSD build tools]
Quote:
Are these readily available someplace for Irix-6.2?

I have no idea, sorry.

Quote:
If you can email it to me, I might give it a go. I do have junkbuster
v2.0.4 (privoxy's predecessor) compiled and running on the Indy. It works
ok, but only supports http-1.0 which gives problems on some pages.

The configure script is in the mail :-)

-Tor
Back to top
John Thompson
*nix forums Guru Wannabe


Joined: 12 Mar 2005
Posts: 164

PostPosted: Mon Dec 05, 2005 10:05 pm    Post subject: Re: NetBSD pkgsrc in Irix (was: Privoxy on my Indy) Reply with quote

On 2005-12-05, T A <tausenet@gmail.com> wrote:

Quote:
The NetBSD build system is BSD specific and won't really work elsewhere
unless you install the BSD make and build tools.

Are these readily available someplace for Irix-6.2?

Quote:
In any case, compiling privoxy on IRIX is a major PITA because it's
assuming a lot of non-portable stuff (where the easiest problem is that
it's *hardcoding* -Wall in the GNUMakefile, independent of which compiler
the ./configure script finds - and they don't even provide a configure so
you'll need the autoconf stuff too).
But there's also a lot of rubbish in the code, so it's not easy to compile
even when you've got the tools. Some hacking on the code is necessary.

I could post a configure script if you want, in case you feel like hacking
the code.

If you can email it to me, I might give it a go. I do have junkbuster
v2.0.4 (privoxy's predecessor) compiled and running on the Indy. It works
ok, but only supports http-1.0 which gives problems on some pages.

--

John (john@os2.dhs.org)
Back to top
T A
*nix forums beginner


Joined: 29 Nov 2005
Posts: 6

PostPosted: Mon Dec 05, 2005 4:01 pm    Post subject: Re: NetBSD pkgsrc in Irix (was: Privoxy on my Indy) Reply with quote

John,

The NetBSD build system is BSD specific and won't really work elsewhere
unless you install the BSD make and build tools.

In any case, compiling privoxy on IRIX is a major PITA because it's
assuming a lot of non-portable stuff (where the easiest problem is that
it's *hardcoding* -Wall in the GNUMakefile, independent of which compiler
the ./configure script finds - and they don't even provide a configure so
you'll need the autoconf stuff too).
But there's also a lot of rubbish in the code, so it's not easy to compile
even when you've got the tools. Some hacking on the code is necessary.

I could post a configure script if you want, in case you feel like hacking
the code.

-Tor
Back to top
John Thompson
*nix forums Guru Wannabe


Joined: 12 Mar 2005
Posts: 164

PostPosted: Mon Dec 05, 2005 4:05 am    Post subject: NetBSD pkgsrc in Irix (was: Privoxy on my Indy) Reply with quote

On 2005-12-04, Tony 'Nicoya' Mantler <nicoya@ubb.ca> wrote:

Quote:
In article <slrndp4254.39i.john@vector.os2.dhs.org>,
John Thompson <john@vector.os2.dhs.org> wrote:

: No joy:
:
: bash-2.04# gmake
: Makefile:41: *** missing separator. Stop.
:
: :-(

Hmm, interesting. You should examine the makefile to see if it has been mangled
in some way, such as getting linewrapped or DOS-style newlines.

It happens with *any* of the pkgsrc makefiles but they work fine building
in native NetBSD, so I don't think it's a newline issue.

Quote:
You might also examine the makefile to see if it's intended to be run through
some sort of macro substitution or special build environment. I'm not entirely
familiar with NetBSD's pkgsrc system.

Nothing jumps out at me. E.g.:

# $NetBSD: Makefile,v 1.58 2005/08/06 06:19:07 jlam Exp $

DISTNAME= autoconf-2.59
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=autoconf/}
EXTRACT_SUFX= .tar.bz2

MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/autoconf/autoconf.html
COMMENT= Generates automatic source code configuration
scripts

USE_TOOLS+= gm4:run perl:run

# The next line is for conflicts with old versions of this package,
# which had autoconf-devel as PKGNAME.
CONFLICTS= autoconf-devel-[0-9]*

PKG_INSTALLATION_TYPES= overwrite pkgviews

USE_LANGUAGES= # empty
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --without-lispdir

TEXINFO_REQD= 4.0
INFO_FILES= autoconf.info standards.info

AUTOMAKE_OVERRIDE= NO

TEST_TARGET= check

CHECK_WRKREF_SKIP+= ${PREFIX}/share/autoconf/autoconf/autoconf.m4f
CHECK_WRKREF_SKIP+= ${PREFIX}/share/autoconf/autotest/autotest.m4f
CHECK_WRKREF_SKIP+= ${PREFIX}/share/autoconf/m4sugar/m4sugar.m4f
CHECK_WRKREF_SKIP+= ${PREFIX}/share/autoconf/m4sugar/m4sh.m4f

# undo a rather stupid hack in the install step when --without-lispdir is
used
post-install:
${RM} -rf ${WRKSRC}/lib/emacs/no

..include "../../mk/bsd.pkg.mk"


--

John (john@os2.dhs.org)
Back to top
Tony 'Nicoya' Mantler
*nix forums Guru Wannabe


Joined: 02 Jul 2005
Posts: 139

PostPosted: Sun Dec 04, 2005 2:10 am    Post subject: Re: Privoxy on my Indy Reply with quote

In article <slrndp4254.39i.john@vector.os2.dhs.org>,
John Thompson <john@vector.os2.dhs.org> wrote:

: On 2005-12-03, Tony 'Nicoya' Mantler <nicoya@ubb.ca> wrote:
:
: > In article <slrndp1j57.vsm.john@vector.os2.dhs.org>,
: > John Thompson <john@vector.os2.dhs.org> wrote:
: >
: >: bash-2.04# make
: >: make: file `Makefile' line 41: Must be a separator (: or :Smile for rules
: >: (bu39)
: >: -rf /lib/emacs/no
: >: sh: - : unrecognized option
: >: *** Error code 1 (bu21)
: >:
: >: I get this invalid separator error with any NetBSD package I try to build
: >: in Irix.
: >
: > Download GNU Make from SGI Freeware and use the "gmake" in that package
: > rather
: > than SGI's make.
:
: No joy:
:
: bash-2.04# gmake
: Makefile:41: *** missing separator. Stop.
:
: :-(

Hmm, interesting. You should examine the makefile to see if it has been mangled
in some way, such as getting linewrapped or DOS-style newlines.

You might also examine the makefile to see if it's intended to be run through
some sort of macro substitution or special build environment. I'm not entirely
familiar with NetBSD's pkgsrc system.


Cheers - Tony 'Nicoya' Mantler :)

--
Tony 'Nicoya' Mantler -- Master of Code-fu -- nicoya@ubb.ca
-- http://nicoya.feline.pp.se/ -- http://www.ubb.ca/ --
Back to top
John Thompson
*nix forums Guru Wannabe


Joined: 12 Mar 2005
Posts: 164

PostPosted: Sat Dec 03, 2005 10:05 pm    Post subject: Re: Privoxy on my Indy Reply with quote

On 2005-12-03, Tony 'Nicoya' Mantler <nicoya@ubb.ca> wrote:

Quote:
In article <slrndp1j57.vsm.john@vector.os2.dhs.org>,
John Thompson <john@vector.os2.dhs.org> wrote:

: bash-2.04# make
: make: file `Makefile' line 41: Must be a separator (: or :Smile for rules
: (bu39)
: -rf /lib/emacs/no
: sh: - : unrecognized option
: *** Error code 1 (bu21)
:
: I get this invalid separator error with any NetBSD package I try to build
: in Irix.

Download GNU Make from SGI Freeware and use the "gmake" in that package rather
than SGI's make.

No joy:

bash-2.04# gmake
Makefile:41: *** missing separator. Stop.

:-(

--

John (john@os2.dhs.org)
Back to top
Tony 'Nicoya' Mantler
*nix forums Guru Wannabe


Joined: 02 Jul 2005
Posts: 139

PostPosted: Sat Dec 03, 2005 6:37 am    Post subject: Re: Privoxy on my Indy Reply with quote

In article <slrndp1j57.vsm.john@vector.os2.dhs.org>,
John Thompson <john@vector.os2.dhs.org> wrote:

: bash-2.04# make
: make: file `Makefile' line 41: Must be a separator (: or :Smile for rules
: (bu39)
: -rf /lib/emacs/no
: sh: - : unrecognized option
: *** Error code 1 (bu21)
:
: I get this invalid separator error with any NetBSD package I try to build
: in Irix.

Download GNU Make from SGI Freeware and use the "gmake" in that package rather
than SGI's make.


Cheers - Tony 'Nicoya' Mantler :)

--
Tony 'Nicoya' Mantler -- Master of Code-fu -- nicoya@ubb.ca
-- http://nicoya.feline.pp.se/ -- http://www.ubb.ca/ --
Back to top
John Thompson
*nix forums Guru Wannabe


Joined: 12 Mar 2005
Posts: 164

PostPosted: Sat Dec 03, 2005 12:05 am    Post subject: Re: Privoxy on my Indy Reply with quote

On 2005-12-01, Georg Schwarz <georg.schwarz@freenet.de> wrote:

Quote:
John Thompson <john@vector.os2.dhs.org> writes:

Looking for ways to keep my Indy useful, I decided to try building privoxy
(http://www.privoxy.org) to provide a filtering proxy for my home network.
Unfortunately, it requires "autoheader" for the configuration process
prior to compiling. I've not been able to locate a source for autoheader
for Irix-6.2.

Any ideas?

you might want to use
http://www.netbsd.org/Documentation/software/packages.html

I've tried using NetBSD pkgsrc, but have not been successful. E.g.:

bash-2.04# uname -a
IRIX arnor 6.2 03131015 IP22
bash-2.04# cd /usr/pkgsrc/devel/autoconf
bash-2.04# make
make: file `Makefile' line 41: Must be a separator (: or :Smile for rules
(bu39)
-rf /lib/emacs/no
sh: - : unrecognized option
*** Error code 1 (bu21)

I get this invalid separator error with any NetBSD package I try to build
in Irix.


--

John (john@os2.dhs.org)
Back to top
Georg Schwarz
*nix forums beginner


Joined: 20 Feb 2005
Posts: 13

PostPosted: Thu Dec 01, 2005 1:55 pm    Post subject: Re: Privoxy on my Indy Reply with quote

John Thompson <john@vector.os2.dhs.org> writes:

Quote:
Looking for ways to keep my Indy useful, I decided to try building privoxy
(http://www.privoxy.org) to provide a filtering proxy for my home network.
Unfortunately, it requires "autoheader" for the configuration process
prior to compiling. I've not been able to locate a source for autoheader
for Irix-6.2.

Any ideas?

you might want to use
http://www.netbsd.org/Documentation/software/packages.html
Back to top
T A
*nix forums beginner


Joined: 29 Nov 2005
Posts: 6

PostPosted: Tue Nov 29, 2005 1:32 pm    Post subject: Re: Privoxy on my Indy Reply with quote

In article <slrndn04ie.b09.john@vector.os2.dhs.org>,
John Thompson <john@vector.os2.dhs.org> writes:
Quote:
Looking for ways to keep my Indy useful, I decided to try building privoxy
(http://www.privoxy.org) to provide a filtering proxy for my home network.
Unfortunately, it requires "autoheader" for the configuration process
prior to compiling. I've not been able to locate a source for autoheader
for Irix-6.2.

"autheader" is part of autoconf. You need to find and install autoconf,
and probably libtool and automake too, if you're building from scratch.

_however_, if the configuration was correctly set up it shouldn't be
necessary to re-run autoheader & co, which may indicate that there's
a file time problem creating an unnecessary dependency-recreation of
configure. But I'm not familiar with how the privoxy build environment
is set up. In any case, you shouldn't have any problems getting the
trio up and running on irix 6.2, I have built and installed autoconf-2.59,
automake 1.8.2 and libtool-1.5.2 on irix 6.2.

-Tor
Back to top
John Thompson
*nix forums Guru Wannabe


Joined: 12 Mar 2005
Posts: 164

PostPosted: Tue Nov 08, 2005 4:05 am    Post subject: Privoxy on my Indy Reply with quote

Looking for ways to keep my Indy useful, I decided to try building privoxy
(http://www.privoxy.org) to provide a filtering proxy for my home network.
Unfortunately, it requires "autoheader" for the configuration process
prior to compiling. I've not been able to locate a source for autoheader
for Irix-6.2.

Any ideas?


--

John (john@os2.dhs.org)
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [11 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 8:21 am | All times are GMT
navigation Forum index » *nix » SGI/IRIX
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Indy HDD specs Zak. hardware 4 Tue Jul 04, 2006 11:36 am
No new posts Tor, Privoxy (need help making it work) Beowulf security 14 Sat Jun 03, 2006 12:11 am
No new posts Linux on an Indy You SGI/IRIX 9 Fri May 05, 2006 9:13 pm
No new posts How to toggle privoxy on and off? Edward C. Jones Debian 1 Sat Apr 01, 2006 5:20 pm
No new posts Indy memory troubleshot Eric Belhomme hardware 1 Fri Mar 17, 2006 11:46 am

Libro de autoayuda | Watch Naruto Online | Loans | McDonalds | Credit Card
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.6681s ][ Queries: 20 (0.5494s) ][ GZIP on - Debug on ]