Problems installing odepkg in octave 3.0.3
Samuel H. Dupree, Jr.
sdupree at speakeasy.net
Sun Mar 1 21:01:50 CST 2009
Thomas Treichl wrote:
> Samuel H. Dupree, Jr. schrieb:
>> 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:
> <SNIP>
>>
>> What am I doing wrong, or what work-around do I need to do to
>> successfully install odepkg?
>>
>> Sam Dupree.
>
> Hi Sam,
>
> where did you get your /usr/local/bin/gcc 4.3.0 from?
>
> Have you set the CC environment variable? In Octave type
>
> getenv ("CC")
>
> Best regards,
>
> Thomas
>
>
gcc 4.3.0 came from http://hpc.sourceforge.net/. As for the CC
environment variable, I did not have it set. Now I did enter getenv
("CC") in Octave and attempted to install odepkg with the same results -
the install failed (see listing below).
Could the version 4.3.0 of gcc that I obtained from hpc.sourceforge.net
<http://hpc.sourceforge.net/> be the problem? I have a dot file called
.octaverc; should the CC environment variable be set here, and what
should it be set to?
Sam Dupree.
Last login: Sun Mar 1 21:39:31 on ttyp2
exec '/Applications/octave/Octave.app/Contents/Resources/bin/octave'
Welcome to Darwin!
dsl092-239-159:~ samueldupree$ exec
'/Applications/octave/Octave.app/Contents/Resources/bin/octave'
GNU Octave, version 3.0.3
Copyright (C) 2008 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "powerpc-apple-darwin7.9.1".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <bug at octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
For information about changes from previous versions, type `news'.
default_eval_print_flag = 0
define_all_return_values = 1
do_fortran_indexing = 1
empty_list_elements_ok = 1
implicit_num_to_str_ok = 1
implicit_str_to_num_ok = 1
ok_to_lose_imaginary_part = 1
prefer_column_vectors = 0
prefer_zero_one_indexing = 1
treat_neg_dim_as_zero = 1
whitespace_in_literal_matrix = traditional
>> getenv ("CC")
ans = gcc -O3 -ftree-vectorize -mpowerpc -faltivec -maltivec -mabi=altivec
>> 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
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090301/125914d9/attachment-0001.html
More information about the Help-octave
mailing list