For the record, I unistalled octave and then reinstalled and downloaded a
fresh xraylib package.  I get exactly the same behavior as before.  Possibly
the issue is related to the error message

rm: cannot lstat `libxrl.a': No such file or directory

Not sure where to proceed from here ... probably going to give up.

Larry

-----Original Message-----
From: Tatsuro MATSUOKA [mailto:tmacch...@yahoo.co.jp] 
Sent: Tuesday, February 01, 2011 9:42 PM
To: llu...@niu.edu; octave-dev@lists.sourceforge.net
Subject: RE: [OctDev] does "pkg install" work for the windows version

Hello

I have tried to install the package.


I have extract xraylib-1.0.8 at c:\tmp
ans pkg install at c:\tmo
octave:3> pkg install xraylib-1.0.8 -verbose
<snip>
copyfile C:\tmp\xraylib-1.0.8\src\xraylib.oct
C:\tmp\xraylib-1.0.8\inst\i686-pc-mingw32-api-v37


octave:8> help AtomicWeight
`AtomicWeight' is a function from the file
C:\Programs\Octave\3.2.4_gcc-4.4.0\libexec\octave\packages\xraylib-1.0.8\i68
6-pc-mingw32-api-v37\xraylib.oct

 -- Loadable Function: A = AtomicWeight (Z)
     Return the atomic mass of an element with atomic number Z.


Additional help for built-in functions and operators is
available in the on-line version of the manual.  Use the command
`doc <topic>' to search the manual index.

Help and information about Octave is also available on the WWW
at http://www.octave.org and via the h...@octave.org
mailing list.

>pkg load xraylib
> AtomicWeight(3)
ans =  6.9400

worked for me.

I do not why you failed.

Regards

Tatsuro


--- Laurence Lurio  wrote:

> I ran pkg list.  This shows the following output.
> 
> octave-3.2.4.exe:13> pkg list
> Package Name       | Version | Installation directory
> -------------------+---------+-----------------------
>           gnuplot *|   1.0.1 | ...\share\octave\packages\gnuplot-1.0.1
>             image *|  1.0.10 | ...\share\octave\packages\image-1.0.10
>       integration *|   1.0.7 | ...\share\octave\packages\integration-1.0.7
>     miscellaneous *|   1.0.9 |
...\share\octave\packages\miscellaneous-1.0.
>             optim *|  1.0.12 | ...\share\octave\packages\optim-1.0.12
> physicalconstants *|   0.1.7 | ...\octave\packages\physicalconstants-0.1.7
>          symbolic *|   1.0.9 | ...\share\octave\packages\symbolic-1.0.9
>           xraylib  |   1.0.8 | ...\share\octave\packages\xraylib-1.0.8
> 
> The xraylib package does not have a "*" so I ran
> 
> pkg load xraylib
> 
> The output then changed to 
>           xraylib *|   1.0.8 | ...\share\octave\packages\xraylib-1.0.8
> 
> However when I try to run a function, I still do not get anything, e.g.
> 
> octave-3.2.4.exe:6> AtomicWeight(3)
> error: `AtomicWeight' undefined near line 6 column 1
> 
> 
> 
> 


--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/



------------------------------------------------------------------------------
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