Problems installing odepkg in octave 3.0.3

Samuel H. Dupree, Jr. sdupree at speakeasy.net
Sun Mar 1 03:27:32 CST 2009


I'm running Octave 3.0.3 on a Mac PowerPC G4 running Mac OS 10.4.11. I'm 
attempting to install ODEPKG 0.6.4, and thus far I've been unsuccessful. 
The steps I've been using to install ODEPKG are as follows:

    1. Downloaded the odepkg-0.6.4.tar.gz and placed it in my home directory
    2. Launch Octave.app from the Applications folder on the desktop
    3. Octave.app launches a UNIX terminal window in which Octave is 
initiated
    4. From the Octave prompt cd to my home directory where 
odepkg-0.6.4.tar.gz resides
    5. Entered the command, pkg install odepkg-0.6.4.tar.gz, to install 
the package
    6. The installed produced the following output:


 >> pkg install odepkg-0.6.4.tar.gz
In file included from 
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/stl_algobase.h:68,
                 from 
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/char_traits.h:46,
                 from 
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/string:47,
                 from 
/Applications/octave/Octave.app/Contents/Resources/include/octave-3.0.3/octave/defaults.h:28,
                 from conftest.cc:3:
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:99: 
error: expected primary-expression before '__attribute__'
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:99: 
error: expected `}' before '__attribute__'
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:99: 
error: type '_Sp' is not derived from type 'std::__traitor<_Sp, _Tp>'
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:99: 
error: expected ';' before '||' token
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:99: 
error: expected `;' before '}' token
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:100: 
error: using 'typename' outside of template
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:100: 
error: '__value' was not declared in this scope
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:100: 
error: template argument 1 is invalid
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:100: 
error: invalid type in declaration before ';' token
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:108: 
error: '__false_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:115: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:123: 
error: '__false_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:130: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:140: 
error: '__false_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:150: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:157: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:164: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:171: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:179: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:187: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:194: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:201: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:208: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:215: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:222: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:229: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:236: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:246: 
error: '__false_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:254: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:261: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:268: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:278: 
error: '__false_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:285: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:295: 
error: '__false_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:303: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:311: 
error: expected template-name before '<' token
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:311: 
error: expected `{' before '<' token
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:311: 
error: expected unqualified-id before '<' token
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:319: 
error: expected template-name before '<' token
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:319: 
error: expected `{' before '<' token
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:319: 
error: expected unqualified-id before '<' token
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:327: 
error: expected template-name before '<' token
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:327: 
error: expected `{' before '<' token
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:327: 
error: expected unqualified-id before '<' token
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:337: 
error: '__false_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:344: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:352: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:360: 
error: '__false_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:367: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:374: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:381: 
error: '__true_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:391: 
error: '__false_type' does not name a type
/usr/local/lib/gcc/powerpc-apple-darwin8.11.0/4.3.0/../../../../include/c++/4.3.0/bits/cpp_type_traits.h:406: 
error: expected declaration before '}' token
configure: error: Could not run mkoctfile
error: the configure script returned the following error: checking for 
gcc... gcc -O3 -ftree-vectorize -mpowerpc -faltivec -maltivec -mabi=altivec
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -O3 -ftree-vectorize -mpowerpc -faltivec -maltivec 
-mabi=altivec accepts -g... yes
checking for gcc -O3 -ftree-vectorize -mpowerpc -faltivec -maltivec 
-mabi=altivec option to accept ISO C89... none needed
checking for mkoctfile... mkoctfile
error: called from `pkg:configure_make' in file 
/Applications/octave/Octave.app/Contents/Resources/share/octave/3.0.3/m/pkg/pkg.m 
near line 1235, column 2
 >>


What am I doing wrong, or what work-around do I need to do to 
successfully install odepkg?

Sam Dupree.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090301/85b401bd/attachment.html 


More information about the Help-octave mailing list