Subject: Building software on Interix, GCC's -fpic, and mixing binary/source packages
To: None <pkgsrc-users@netbsd.org>
From: micah r l <micahrl@gmail.com>
List: pkgsrc-users
Date: 07/02/2007 20:09:55
------=_Part_72586_20759650.1183424995992
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
I'm using Interix 3.5 on Windows XP Home[0] SP2.
I'm having trouble building packages on Interix. Many packages build fine,
but some require GCC. Those that do will attempt to build gcc, and then fail
with "/usr/pkgsrc/lang/gcc/work/.wrapper/bin/gcc: Interix GNU cc doesn't
support `-fpic'."
This even happens for perl, which I am specifically admonished to install in
the pkgsrc guide. There is a binary package for Perl on ftp.netbsd.org, but
I can't seem to build my own. Why is this?
This actually brings me to another problem I'm having - I have perl
installed from the aforementioned binary package, but when I try to compile
Eterm from pkgsrc/x11/eterm, it tries to compile perl again. It says "=>
Required installed package perl>=5.8.3nb1: NOT found", but /usr/pkg/bin/perl
-v reports "This is perl, v5.8.8 built for i386-interix3-thread-multi".
What's going on here?
Is there a way around these things? I feel like I must have missed
something, but I've looked and looked and I'm not able to find a solution.
- Micah
[0] Yes, really: http://www.oreillynet.com/pub/h/2883
------=_Part_72586_20759650.1183424995992
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
I'm using Interix 3.5 on Windows XP Home[0] SP2.<br><br>I'm having trouble building packages on Interix. Many packages build fine, but some require GCC. Those that do will attempt to build gcc, and then fail with "/usr/pkgsrc/lang/gcc/work/.wrapper/bin/gcc: Interix GNU cc doesn't support `-fpic'."
<br><br>This even happens for perl, which I am specifically admonished to install in the pkgsrc guide. There is a binary package for Perl on <a href="http://ftp.netbsd.org">ftp.netbsd.org</a>, but I can't seem to build my own. Why is this?
<br><br>This actually brings me to another problem I'm having - I have perl installed from the aforementioned binary package, but when I try to compile Eterm from pkgsrc/x11/eterm, it tries to compile perl again. It says "=> Required installed package perl>=
5.8.3nb1: NOT found", but /usr/pkg/bin/perl -v reports "This is perl, v5.8.8 built for i386-interix3-thread-multi". What's going on here?<br><br>Is there a way around these things? I feel like I must have missed something, but I've looked and looked and I'm not able to find a solution.
<br><br> - Micah<br><br>[0] Yes, really: <a href="http://www.oreillynet.com/pub/h/2883">http://www.oreillynet.com/pub/h/2883</a><br>
------=_Part_72586_20759650.1183424995992--