[gentoo-user] cdk compile problem

2006-09-03 Thread dirk dil

My system is an amd64

I'm trying to get my brand new digital camera to work with linux for
which I need gphoto.  emerging that on my system throws the following
error while compiling cdk:



Calculating dependencies ...done!
 emerge (1 of 2) dev-libs/cdk-5.0.20050424 to /
etc etc.

x86_64-pc-linux-gnu-g++ -shared
-nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/crti.o 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtbeginS.o  .libs/dscale.o 
.libs/fscale.o .libs/fslider.o .libs/scale.o .libs/slider.o .libs/uscale.o 
.libs/uslider.o .libs/alphalist.o .libs/binding.o .libs/button.o 
.libs/buttonbox.o .libs/calendar.o .libs/cdk.o .libs/cdk_compat.o 
.libs/cdk_objs.o .libs/cdk_params.o .libs/cdkscreen.o .libs/debug.o 
.libs/dialog.o .libs/draw.o .libs/entry.o .libs/fselect.o .libs/get_index.o 
.libs/get_string.o .libs/graph.o .libs/histogram.o .libs/itemlist.o 
.libs/label.o .libs/marquee.o .libs/matrix.o .libs/mentry.o 
.libs/menu.o.libs/popup_dialog.o .libs/popup_label.o .libs/position.o 
.libs/radio.o .libs/scroll.o .libs/selection.o .libs/swindow.o 
.libs/select_file.o .libs/template.o .libs/traverse.o .libs/version.o 
.libs/view_file.o .libs/view_info.o .libs/viewer.o  
-L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4 
-L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/l!
 ib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64 
-L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../.. -L/lib/../lib64 
-L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtendS.o 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/crtn.o  -Wl,-soname 
-Wl,libcdk.so.1 -o .libs/libcdk.so.1.1.4
x86_64-pc-linux-gnu-g
++: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/crti.o: No
such file or directory
x86_64-pc-linux-gnu-g
++: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtbeginS.o: No such file or
directory
x86_64-pc-linux-gnu-g
++: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtendS.o: No such file or
directory
x86_64-pc-linux-gnu-g
++: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/crtn.o: No
such file or directory
make: *** [libcdk.la] Error 1

!!! ERROR: dev-libs/cdk-5.0.20050424 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status
message.


What is wrong?  Thanks for any help.

dirk


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] flash drive mounting

2006-05-16 Thread dirk dil
Hi guys,

I'm having trouble mounting a jetflash 110 onto usb.  The stick is on a
usb port and my kernel supports usb mass storage and dos fs's.  I don't
think the stick needs a special driver.  In the manual it says I should
be able to mount with:

  mount -a -t msdos /dev/sda1 /mnt/jetflash

but there is no such thing as /dev/sda1.  No /dev/sd?? what so ever.

What am I missing?

Thanks for any pointers.

Dirk 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] flash drive mounting

2006-05-16 Thread dirk dil
On Tue, 2006-05-16 at 00:02 -0700, Ryan Tandy wrote:
 dirk dil wrote:
  my kernel supports usb mass storage and dos fs's
 
 Built-in, or modules?  If the latter, make sure they're loaded... ;) 
 And as Dirk mentioned, make sure you have SCSI support and SCSI disk 
 support (hint: what does the 'sd' in /dev/sd* stand for? :P).
 
stick disc?

 Ryan

Thanks Dirk, Sergio and Ryan,

scsi and modprobe did the trick.  I hadn't made the scsi connection.

Bye for now

dirk

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] update failed

2006-05-15 Thread dirk dil
On Sun, 2006-05-14 at 13:07 +0200, Alexander Skwar wrote:
 Fabrice Delliaux wrote:
  dirk dil a écrit :
 
  emerge --update --deep world
  --- Invalid atom in /etc/portage/package.use: dev-lang/php-5.1.2
  
  Check your package.use file : no need to specify the atom's version :
 
 Well, how do you know, that there's no need to do specify the version?
 
 You can most certainly specify the version of the package for which
 the line is. But you've got to do it right, of course!
 
  
  Not :
  dev-lang/php-5.1.2 the use flags
  
  But :
  
  dev-lang/php the use flags
 
 Nope. Right:
 
 =dev-lang/php-5.1.2
 
 Alexander Skwar
 -- 
 (It is an old Debian tradition to leave at least twice a year ...)
   -- Sven Rudolph


Thanks guys,

That needed fixing.

dirk

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] update failed

2006-05-15 Thread dirk dil
On Sun, 2006-05-14 at 11:06 -0700, Richard Fish wrote:
 On 5/14/06, dirk dil [EMAIL PROTECTED] wrote:
  Hi,
 
  I'm new to gentoo.  My system is fairly recent and I'm running
  the amd64
  version of gentoo.  I'm trying to update my system and I get the
  following error:
 
  emerge --update --deep world
  --- Invalid atom in /etc/portage/package.use: dev-lang/php-5.1.2
 
 Others have already covered this one
 
  Checking for Ogg ... success
  Checking for Vorbis ... success
  Wrote Setup file
  You must have the Ogg Python bindings
  installed in order to build and install
  these bindings. Import of ogg._ogg failed.
 
 Hmm, this one is strange.  You need pyogg installed as well, but it is
 already listed as a dependancy of pyvorbis...so you should have it.
 
 Did you update the version of python recently?  If so, you might need
 to run 'python-updater'.

That worked and solved it.  But shouldn't gentoo update that?

 
 If python-updater doesn't fix the problem, try 'emerge --oneshot pyogg'.
 
 -Richard
 

Thanks Richard,

Dirk

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] update failed

2006-05-14 Thread dirk dil
Hi,

I'm new to gentoo.  My system is fairly recent and I'm running
the amd64
version of gentoo.  I'm trying to update my system and I get the
following error:

emerge --update --deep world
--- Invalid atom in /etc/portage/package.use: dev-lang/php-5.1.2
Calculating world dependencies ...done!
 emerge (1 of 1) dev-python/pyvorbis-1.4-r1 to /
 md5 files   ;-) pyvorbis-1.3.ebuild
 md5 files   ;-) pyvorbis-1.4-r1.ebuild
 md5 files   ;-) pyvorbis-1.4.ebuild
 md5 files   ;-) pyvorbis-1.1.ebuild
 md5 files   ;-) files/pyvorbisfile.c-1.4.patch
 md5 files   ;-) files/digest-pyvorbis-1.4-r1
 md5 files   ;-) files/digest-pyvorbis-1.1
 md5 files   ;-) files/digest-pyvorbis-1.3
 md5 files   ;-) files/digest-pyvorbis-1.4
 md5 src_uri ;-) pyvorbis-1.4.tar.gz
 Unpacking source...
 Unpacking pyvorbis-1.4.tar.gz
to /var/tmp/portage/pyvorbis-1.4-r1/work
 * Applying pyvorbisfile.c-1.4.patch ...
[ ok ] Source unpacked.
Checking for Ogg ... success
Checking for Vorbis ... success
Wrote Setup file
You must have the Ogg Python bindings
installed in order to build and install
these bindings. Import of ogg._ogg failed.

!!! ERROR: dev-python/pyvorbis-1.4-r1 failed.
!!! Function distutils_src_compile, Line 35, Exitcode 1
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this
status
message.

Pointers any one?  They would be greatly appreciated.

Dirk



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] postgresql client problems

2005-12-15 Thread Dirk Dil
Hi,

My computer is an amd64 sempron with a fresh Gentoo Linux 2005.1-r1.  I'm 
trying to get pgaccess and
postgresql to set up.  

Both have been successfully emerged.  I can create a data base with my
user dirk and access it using psql.  Upon /etc/init.d/postgres stop/start
I do find the following in my logfile:

LOG:  received fast shutdown request
LOG:  shutting down
LOG:  database system is shut down
LOG:  could not send test message on socket for statistics collector:
Operation not permitted
LOG:  disabling statistics collector for lack of working socket
LOG:  database system was shut down at 2005-12-15 08:35:49 CET
LOG:  checkpoint record is at 0/AC5068
LOG:  redo record is at 0/AC5068; undo record is at 0/0; shutdown TRUE
LOG:  next transaction ID: 558; next OID: 17231
LOG:  database system is ready

When trying to access the data base using pgaccess I get the following
message:


Error trying to connect to database 'test' 
 on host localhost 

PostgreSQL error message: Connection to database failed
couldn't open socket: connection refused


With no further messages in the postgres log.

After having carefully followed the FAQs and all man pages etc.etc. It
refuses to connect. I havn't got a clue as to what is wrong and would
appreciate a push in the right direction.  I suspect sockets but don't
know where to go from here.

TIA for reactions

Dirk


-- 
gentoo-user@gentoo.org mailing list