I had un-gzipped the package which removed the .gz .   When I re-gzipped it
I got a different error:

octave-3.2.4.exe:8> pkg install xraylib-1.0.8.tar.gz
/bin/bash: gcc: command not found
make[1]: *** [xrayfiles.o] Error 127
make: *** [xraylib_stamp] Error 2
'make' returned the following error: make: Entering directory
`/tmp/oct-2/xrayli
b-1.0.8/src'
make -C xraylib/src inline
make[1]: Entering directory `/tmp/oct-2/xraylib-1.0.8/src/xraylib/src'
gcc -fPIC  -c xrayfiles.c
make[1]: Leaving directory `/tmp/oct-2/xraylib-1.0.8/src/xraylib/src'
make: Leaving directory `/tmp/oct-2/xraylib-1.0.8/src'
error: called from `pkg>configure_make' in file
F:\Octave\3.2.4_gcc-4.4.0\share\
octave\3.2.4\m\pkg\pkg.m near line 1253, column 2
error: called from:
error:   F:\Octave\3.2.4_gcc-4.4.0\share\octave\3.2.4\m\pkg\pkg.m at line
714, c
olumn 5
error:   F:\Octave\3.2.4_gcc-4.4.0\share\octave\3.2.4\m\pkg\pkg.m at line
287, c
olumn 7
octave-3.2.4.exe:8>

-----Original Message-----
From: Benjamin Lindner [mailto:bjm...@gmail.com] 
Sent: Tuesday, February 01, 2011 4:09 AM
To: llu...@niu.edu
Cc: octave-dev@lists.sourceforge.net
Subject: Re: [OctDev] does "pkg install" work for the windows version

Please keep the liste CC'ed, so that others can follow

> octave-3.2.4.exe:16> pkg install xraylib-1.0.8.tar -verbose
                                                                     ^^^
shouldn't this read .tar.gz ?

> mkdir (C:\DOCUME~1\LAUREN~1\LOCALS~1\Temp\oct-5)
> untar (xraylib-1.0.8.tar, C:\DOCUME~1\LAUREN~1\LOCALS~1\Temp\oct-5)
> unpack: unarchiving program exited with status: 2
> tar:
> F\:\\Octave\\3.2.4_gcc-4.4.0\\share\\octave\\packages\\xraylib-1.0.8.tar:
C
> annot open: I/O error

which means tar cannot open the archive in question. Where did you
save the archive file?
And is it really a .tar archive, not a gzipped .tar.gz archive?

benjamin


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to