[gentoo-user] flags on a minimalist server

2009-09-09 Thread James
Hello,


I'm building a firewall on an old p3. It has Compact
flash to ide, limited to 4 Gb so size is paramount.

It's mostly ready. However upon a routine update, I get this
error:

 Multiple package instances within a single package slot have been pulled
 into the dependency graph, resulting in a slot conflict:

dev-lang/python:2.6

  ('ebuild', '/', 'dev-lang/python-2.6.2-r1', 'merge') pulled in 
by=dev-lang/python-2.5 required by ('installed', '/',
'sys-apps/portage-2.1.6.13', 'nomerge')
dev-lang/python required by ('installed', '/', 'sys-apps/file-4.23', 
'nomerge')
dev-lang/python-3.0 required by ('installed', '/',
'sys-apps/portage-2.1.6.13', 'nomerge')
(and 1 more)

  ('installed', '/', 'dev-lang/python-2.6.2-r1', 'nomerge') pulled in by
dev-lang/python[xml] required by ('installed', '/',
'app-portage/gentoolkit-0.2.4.5', 'nomerge')
(and 4 more)

  Explanation:

New USE for 'dev-lang/python:2.6' are incorrectly set. In order to
solve this, adjust USE to satisfy 'dev-lang/python[xml]'.



OK fair enough, let's check python[xml] and see what's up...

 dev-lang/python-2.6.2-r1  USE=berkdb ncurses readline ssl
-build -doc -examples -gdbm* -ipv6* -sqlite -threads* -tk -ucs2 -wininst -xml*
10,907 kB



I'm ok rebuilding python with no xml support (???) but, I wonder 
about the -threads flag. Is this wise?

also:
CHOST=i486-pc-linux-gnu
CFLAGS=-Os -march=i586 -pipe -fomit-frame-pointer
CXXFLAGS=${CFLAGS}

USE=-* -nls mmx hardened  ncurses ssl crypt berkdb tcpd pam perl pcre \
python readline zlib bzip2 nptl nptlonly syslog


Suggestions on rebuilding python without xml or threads flags are most welcome.


James






Re: [gentoo-user] flags on a minimalist server

2009-09-09 Thread Crístian Viana
hi James,

you have gentoolkit-0.2.4.5 and it needs python compiled with the xml USE
flag. it has to be that way, according to the ebuild. you can add xml do
the USE line on /etc/make.conf (if you want XML support to all ebuilds
that need it) or add a specific line on /etc/portage/packages.use (if you
want XML support only to python).

the syntax python[xml] means the ebuild python with the xml USE flag
active.

On Wed, Sep 9, 2009 at 3:56 PM, James wirel...@tampabay.rr.com wrote:

 Hello,


 I'm building a firewall on an old p3. It has Compact
 flash to ide, limited to 4 Gb so size is paramount.

 It's mostly ready. However upon a routine update, I get this
 error:

  Multiple package instances within a single package slot have been pulled
  into the dependency graph, resulting in a slot conflict:

 dev-lang/python:2.6

  ('ebuild', '/', 'dev-lang/python-2.6.2-r1', 'merge') pulled in
 by=dev-lang/python-2.5 required by ('installed', '/',
 'sys-apps/portage-2.1.6.13', 'nomerge')
dev-lang/python required by ('installed', '/', 'sys-apps/file-4.23',
 'nomerge')
dev-lang/python-3.0 required by ('installed', '/',
 'sys-apps/portage-2.1.6.13', 'nomerge')
(and 1 more)

  ('installed', '/', 'dev-lang/python-2.6.2-r1', 'nomerge') pulled in by
dev-lang/python[xml] required by ('installed', '/',
 'app-portage/gentoolkit-0.2.4.5', 'nomerge')
(and 4 more)

  Explanation:

New USE for 'dev-lang/python:2.6' are incorrectly set. In order to
solve this, adjust USE to satisfy 'dev-lang/python[xml]'.



 OK fair enough, let's check python[xml] and see what's up...

  dev-lang/python-2.6.2-r1  USE=berkdb ncurses readline ssl
 -build -doc -examples -gdbm* -ipv6* -sqlite -threads* -tk -ucs2 -wininst
 -xml*
 10,907 kB



 I'm ok rebuilding python with no xml support (???) but, I wonder
 about the -threads flag. Is this wise?

 also:
 CHOST=i486-pc-linux-gnu
 CFLAGS=-Os -march=i586 -pipe -fomit-frame-pointer
 CXXFLAGS=${CFLAGS}

 USE=-* -nls mmx hardened  ncurses ssl crypt berkdb tcpd pam perl pcre \
 python readline zlib bzip2 nptl nptlonly syslog


 Suggestions on rebuilding python without xml or threads flags are most
 welcome.


 James







-- 
Crístian Deives dos Santos Viana [aka CD1]
Sent from Campinas, SP, Brazil