[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#60874: apt doesnt build on mipsel (configure cant determin system)



On Tue, Mar 21, 2000 at 01:10:35PM -0700, Jason Gunthorpe wrote:
> On Tue, 21 Mar 2000, Florian Lohoff wrote:
> 
> > apt doesnt build on mipsel because it cant determin the system type
> 
> The config.guess I have may be horribly old (like slink), you should
> copy a more recent config.guess into buildlb/ and try again. You will then
> have to update buildlib/archtable and might as well do sizetable too, just
> in case. 
> 
> If you makes these changes and it all works ok can you send me a quick
> patch and I'll stash it away.
> 
> Please test it by downloading a file by using 'apt-get source' that will
> ensure that the MD5 routine is properly working and thus that the byte
> order/size is correct.

Ok - I think i solved this issue

(root@193)/data/autobuild/tst/apt-0.3.18/buildlib# ./config.guess 
mips-pc-linux-gnuoldld
(root@193)/data/autobuild/tst/apt-0.3.18/buildlib# /usr/share/automake/config.guess
mipsel-unknown-linux-gnu

(cd build; ../configure)
creating cache ./config.cache
checking host system type... mipsel-unknown-linux-gnu
checking build system type... mipsel-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
[...]

This is with the config.guess from the current autoconf package so i guess
just take that ...

I already built an apt long ago without problems i thing
(mipsel is already in the archtable)

(root@193)/data/autobuild/tst# apt-get -v
apt 0.3.13 for mipsel compiled on Oct 16 1999  00:46:41
(root@193)/data/autobuild/tst# apt-get source mutt   
Reading Package Lists... Done
Building Dependency Tree... Done
Need to get 1937kB of source archives.
Get:1 http://ftp.rfc822.org unstable/main mutt 1.1.9-1 (dsc) [611B]
Get:2 http://ftp.rfc822.org unstable/main mutt 1.1.9-1 (tar) [1920kB]
Get:3 http://ftp.rfc822.org unstable/main mutt 1.1.9-1 (diff) [16.8kB]         
Fetched 1937kB in 8s (225kB/s)                                                 
Variable "$c2" is not imported at /usr/bin/dpkg-source line 883.
Global symbol "$c2" requires explicit package name at /usr/bin/dpkg-source line 883.
Variable "$c2" is not imported at /usr/bin/dpkg-source line 884.
Global symbol "$c2" requires explicit package name at /usr/bin/dpkg-source line 


it works basically but dpkg-source dumps out when run from apt-get but
this might be due to other problems i am currently fighting (no perl 5.005 etc)


Flo
-- 
Florian Lohoff		flo@rfc822.org		      	+49-5241-470566
"Technology is a constant battle between manufacturers producing bigger and
more idiot-proof systems and nature producing bigger and better idiots."


Reply to: