Re: Installing portage on Debian

2004-01-09 Thread Pigeon
On Thu, Jan 08, 2004 at 08:31:39PM -0600, Joseph A. Nagy, Jr. wrote:
 Paul Johnson wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Thu, Jan 08, 2004 at 08:13:30PM -0600, Joseph A. Nagy, Jr. wrote:
 
 My sources don't have a rather outdated package that I want. I've 
 downloaded the source from Tucows but it breaks when it looks for 
 ncurses.h (it can't find it) so it won't compile from source. It's in 
 portage, though, so I figured I could get it and all it's deps that way.
 
 
 You need ncurses-dev.
 
 snip
 
 I thought so too, until I installed ncurses-dev, deleted the source dir 
 and re-unarchived the files and re-ran the program and got the same error.

Are you setting the include path correctly when you configure your source
package? There should be an option in its configure script. If it's enough
of a dinosaur not to have a configure script have a look in the top level
makefile. ncurses.h exists OK on my box (woody, with ncurses-dev installed):

$ ls -l /usr/include/*curses.h
-rw-r--r--1 root root54005 Mar 29  2002 /usr/include/curses.h
lrwxrwxrwx1 root root8 Jul 25 18:19 /usr/include/ncurses.h - 
curses.h

-- 
Pigeon

Be kind to pigeons
Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x21C61F7F


pgp0.pgp
Description: PGP signature


Installing portage on Debian

2004-01-08 Thread Joseph A. Nagy, Jr.
I'm trying to install portage on Debian, does anyone have any tips or
tricks past what I've already done (copy and pasted from a conversation
I was having with my helper at the time).
And yes, I have Python 2.1, 2.2 and 2.3 installed.

(15:47:25) Joseph A. Nagy, Jr.:
[EMAIL PROTECTED]:~/portage-2.0.49-r21/src/sandbox-1.1#
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... libc.so.6
Checking glibc subversion...
[EMAIL PROTECTED]:~/portage-2.0.49-r21/src/sandbox-1.1# make
gcc  -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT libsandbox.c
gcc  -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT sandbox_futils.c
gcc libsandbox.o sandbox_futils.o -shared -fPIC -ldl -lc -o
libsandbox.so -nostdlib -lgcc
gcc  -Wall -c sandbox.c
gcc sandbox.o sandbox_futils.o getcwd.c -ldl -lc -o sandbox
[EMAIL PROTECTED]:~/portage-2.0.49-r21/src/sandbox-1.1#
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... libc.so.6
Checking glibc subversion...
[EMAIL PROTECTED]:~/portage-2.0.49-r21/src/sandbox-1.1# make test
make: *** No rule to make target `test'.  Stop.
[EMAIL PROTECTED]:~/portage-2.0.49-r21/src/sandbox-1.1# make install
gcc  -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT libsandbox.c
gcc libsandbox.o sandbox_futils.o -shared -fPIC -ldl -lc -o
libsandbox.so -nostdlib -lgcc
install -d -m 0755 /lib
install -d -m 0755 /usr/lib/portage/bin
install -d -m 0755 /usr/lib/portage/lib
install -m 0755 libsandbox.so /lib
install -m 0755 sandbox /usr/lib/portage/bin
install -m 0644 sandbox.bashrc /usr/lib/portage/lib
[EMAIL PROTECTED]:~/portage-2.0.49-r21/src/sandbox-1.1#
(15:48:08) John Hood: :)
(15:48:33) Joseph A. Nagy, Jr.: I wonder what I do next. *loogs around
at the commands in /root/portage-version/bin/
(15:48:34) John Hood: sandbox is a security module...
(15:48:38) Joseph A. Nagy, Jr.: right
(15:48:50) John Hood: see if you have the emerge command available.
(15:48:58) Joseph A. Nagy, Jr.: OKAY
(15:49:13) Joseph A. Nagy, Jr.: nope
(15:49:17) Joseph A. Nagy, Jr.: sorry for caps
(15:49:20) John Hood: /usr/bin/emerge
(15:49:29) Joseph A. Nagy, Jr.: I'm root, no emerge
(15:49:35) John Hood: hmmm
(15:49:37) Joseph A. Nagy, Jr.: [EMAIL PROTECTED]:~# e
e16menueditefix   epstopdf
exim_fixdb
e2fsck egrep  eqn
exim_lock
e2fsck.static  einitexeqn2graph
exim_tidydb
e2imageeject  esac
eximconfig
e2label
eximstats
e2pall electricsheep  esd-config
exinext
e_cache_clean  elif   etex
exiqsumm
e_cache_query  else   eval
exit
e_gen_gnome_menu   elvtuneeview
exiwhat
e_gen_kde_menu embedxpm   evim
expand
e_gen_menu enable evirtex
expect
ebbenc2xs ex
expectk
echo   enlightenment  exec
expiry
echo-client-2  enlightenment.install  exedat
export
ed enscript   exicyclog
expr
edit   envexigrep
extractres
editor envsubst   exim
eyuvtoppm
editreseppexim-upgrade-to-r3
eesh   eps2epsexim_dbmbuild
efax   epsffitexim_dumpdb
[EMAIL PROTECTED]:~# e
(15:49:48) John Hood: :(
(15:50:06) Joseph A. Nagy, Jr.: it is in /root/portage-version/bin,
though
(15:50:21) John Hood: Try it.
(15:50:24) Joseph A. Nagy, Jr.: should I copy those to /usr/sbin ?
(15:50:52) John Hood: /usr/bin
(15:50:57) Joseph A. Nagy, Jr.: okay
at which point I did so, as evidenced below

(15:51:33) Joseph A. Nagy, Jr.: [EMAIL PROTECTED]:~# emerge portage
Traceback (most recent call last):
  File /usr/bin/emerge, line 10, in ?
  import
  emergehelp,xpak,string,re,commands,time,shutil,traceback,atexit,signal
  File /usr/bin/emergehelp.py, line 7, in ?
from output import *
ImportError: No module named output
[EMAIL PROTECTED]:~#
(15:51:50) John Hood: :(
(15:53:47) Joseph A. Nagy, Jr.: just ran sandbox
(15:55:27) Joseph A. Nagy, Jr.: doh.
(16:11:21) Joseph A. Nagy, Jr.: doh. No good. Granted I'm no
programmer either.
As you can see, I'm at a loss as to what to do next. Help!
--
Joseph A. Nagy, Jr.
Student at Motlow State Community College
Political Activist Extrodinaire
The only fallacy is the inaction on our part to stave off the worst of 
horrors, the stripping of personal freedom.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Installing portage on Debian

2004-01-08 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Jan 08, 2004 at 04:35:05PM -0600, Joseph A. Nagy, Jr. wrote:
 I'm trying to install portage on Debian, does anyone have any tips or
 tricks past what I've already done (copy and pasted from a conversation
 I was having with my helper at the time).

Don't.  Use apt-get instead.

- -- 
 .''`. Paul Johnson [EMAIL PROTECTED]
: :'  :
`. `'` proud Debian admin and user
  `-  Debian - when you have better things to do than fix a system
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQE//gxJUzgNqloQMwcRAmnEAKCa4Q6BRopyPjp3WeL/CaZ7QItD/ACfczZE
a5rvLMR/GnaDlqu7v8gy0Fg=
=+jbU
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Installing portage on Debian

2004-01-08 Thread Rus Foster

 Don't.  Use apt-get instead.

Agreed. If you want to compile from source try apt-get source --build

Rus

-- 
e: [EMAIL PROTECTED]
t: 1-888-327-6330
www.jvds.com - Root on your own box
www.vpscolo.com - Your next hosting company


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Installing portage on Debian

2004-01-08 Thread Joseph A. Nagy, Jr.
Paul Johnson wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thu, Jan 08, 2004 at 04:35:05PM -0600, Joseph A. Nagy, Jr. wrote:

I'm trying to install portage on Debian, does anyone have any tips or
tricks past what I've already done (copy and pasted from a conversation
I was having with my helper at the time).


Don't.  Use apt-get instead.
My sources don't have a rather outdated package that I want. I've 
downloaded the source from Tucows but it breaks when it looks for 
ncurses.h (it can't find it) so it won't compile from source. It's in 
portage, though, so I figured I could get it and all it's deps that way.

The program is cvoicecontrol
--
Joseph A. Nagy, Jr.
Student at Motlow State Community College
Political Activist Extrodinaire
The only fallacy is the inaction on our part to stave off the worst of 
horrors, the stripping of personal freedom.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Installing portage on Debian

2004-01-08 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Jan 08, 2004 at 08:13:30PM -0600, Joseph A. Nagy, Jr. wrote:
 My sources don't have a rather outdated package that I want. I've 
 downloaded the source from Tucows but it breaks when it looks for 
 ncurses.h (it can't find it) so it won't compile from source. It's in 
 portage, though, so I figured I could get it and all it's deps that way.

You need ncurses-dev.

- -- 
 .''`. Paul Johnson [EMAIL PROTECTED]
: :'  :
`. `'` proud Debian admin and user
  `-  Debian - when you have better things to do than fix a system
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQE//hAQUzgNqloQMwcRAtetAKDC99l7exLxGC1ljBdayKHBzjeAXACgjYPK
vIaVM0gWORG5NJ6X9CWhZBw=
=LT+p
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Installing portage on Debian

2004-01-08 Thread Joseph A. Nagy, Jr.
Paul Johnson wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thu, Jan 08, 2004 at 08:13:30PM -0600, Joseph A. Nagy, Jr. wrote:

My sources don't have a rather outdated package that I want. I've 
downloaded the source from Tucows but it breaks when it looks for 
ncurses.h (it can't find it) so it won't compile from source. It's in 
portage, though, so I figured I could get it and all it's deps that way.


You need ncurses-dev.

snip

I thought so too, until I installed ncurses-dev, deleted the source dir 
and re-unarchived the files and re-ran the program and got the same error.
--
Joseph A. Nagy, Jr.
Student at Motlow State Community College
Political Activist Extrodinaire
The only fallacy is the inaction on our part to stave off the worst of 
horrors, the stripping of personal freedom.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]