| Author |
Message |
T A *nix forums beginner
Joined: 29 Nov 2005
Posts: 6
|
Posted: Tue Dec 06, 2005 1:23 pm Post subject:
Re: NetBSD pkgsrc in Irix (was: Privoxy on my Indy)
|
|
|
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
|
Posted: Mon Dec 05, 2005 10:05 pm Post subject:
Re: NetBSD pkgsrc in Irix (was: Privoxy on my Indy)
|
|
|
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
|
Posted: Mon Dec 05, 2005 4:01 pm Post subject:
Re: NetBSD pkgsrc in Irix (was: Privoxy on my Indy)
|
|
|
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
|
Posted: Mon Dec 05, 2005 4:05 am Post subject:
NetBSD pkgsrc in Irix (was: Privoxy on my Indy)
|
|
|
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
|
Posted: Sun Dec 04, 2005 2:10 am Post subject:
Re: Privoxy on my Indy
|
|
|
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 : 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
|
Posted: Sat Dec 03, 2005 10:05 pm Post subject:
Re: Privoxy on my Indy
|
|
|
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 : 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
|
Posted: Sat Dec 03, 2005 6:37 am Post subject:
Re: Privoxy on my Indy
|
|
|
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 : 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
|
Posted: Sat Dec 03, 2005 12:05 am Post subject:
Re: Privoxy on my Indy
|
|
|
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 : 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
|
Posted: Thu Dec 01, 2005 1:55 pm Post subject:
Re: Privoxy on my Indy
|
|
|
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
|
Posted: Tue Nov 29, 2005 1:32 pm Post subject:
Re: Privoxy on my Indy
|
|
|
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
|
Posted: Tue Nov 08, 2005 4:05 am Post subject:
Privoxy on my Indy
|
|
|
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 |
|
 |
|