Matt Zimmerman <mdz@debian.org> wrote:
> On Tue, Jan 06, 2004 at 07:17:58PM -0800, Eric Wong wrote:
>
> > Package: apt
> > Version: 0.5.20
> > Severity: wishlist
> >
> > I get the following error when building after I've configured apt with
> > --disable-nls (I'm building this for a Solaris install, but the same
> > error occurs under i386).
<snip>
> Does this fix it? Apparently, apti18n.h does some weird things like defining a
> macro for setlocale, which of course breaks the prototype in locale.h
<snip>
Thank you. It builds fine with --disable-nls on i386 now. I've attached a
diff for all the affected files with your fix.
In addition, the following fix was needed to compile under
sparc-sun-solaris2.8:
--- ftparchive/multicompress.cc.orig 2004-01-07 11:03:51.000000000 -0800
+++ ftparchive/multicompress.cc 2004-01-07 11:04:36.000000000 -0800
@@ -377,7 +377,7 @@
// Start the compression children.
for (Files *I = Outputs; I != 0; I = I->Next)
{
- if (OpenCompress(I->CompressProg,I->CompressProc,I->TmpFile.Fd(),
+ if (OpenCompress(I->CompressProg,(int)I->CompressProc,I->TmpFile.Fd(),
I->Fd,true) == false)
return false;
}
Everything seems to build fine under Solaris 8, but I keep getting when
I run apt-get and apt-cache:
E: Unable to determine a suitable system type
I fiddled with the buildlib/*table files, but keep getting this. Any
ideas?
Thanks.
--
Eric Wong
Attachment:
apti18n.diff.gz
Description: Binary data