Ben Abbott
2011-03-17 01:16:19 UTC
After the changset below ...
http://hg.savannah.gnu.org/hgweb/octave/rev/a1b2da4967ac
... I encounter an error ...
libtool: compile: g++-4.2 -DHAVE_CONFIG_H -I. -I.. -D__LISTS__ -I/sw/lib/flex/include -I/sw/include -m32 -I/sw/include/freetype2 -I/sw/include/qhull -I/usr/include -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -D__LISTS__ -I/sw/lib/flex/include -I/sw/include -m32 -I/sw/include/freetype2 -I/sw/include/qhull -I/usr/include -I/sw/include -m32 -O1 -g -D_THREAD_SAFE -DHAVE_CONFIG_H -mieee-fp -I/sw/include -I/sw/include/freetype2 -I/sw/include -I/usr/X11/include -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -I/sw/include -m32 -O1 -g -D_THREAD_SAFE -D_THREAD_SAFE -pthread -I/sw/include -m32 -O1 -g -D_THREAD_SAFE -MT DLD-FUNCTIONS/nprocs.lo -MD -MP -MF DLD-FUNCTIONS/.deps/nprocs.Tpo -c DLD-FUNCTIONS/nprocs.c
c -fno-common -DPIC -o DLD-FUNCTIONS/.libs/nprocs.o
DLD-FUNCTIONS/nprocs.cc:29:25: error: sys/sysinfo.h: No such file or directory
DLD-FUNCTIONS/nprocs.cc: In function 'octave_value_list Fnprocs(const octave_value_list&, int)':
DLD-FUNCTIONS/nprocs.cc:48: error: 'get_nprocs' was not declared in this scope
DLD-FUNCTIONS/nprocs.cc: In function 'octave_value_list Fnprocs_conf(const octave_value_list&, int)':
DLD-FUNCTIONS/nprocs.cc:72: error: 'get_nprocs_conf' was not declared in this scope
make[3]: *** [DLD-FUNCTIONS/nprocs.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
There is no sysinfo.h for MacOS. I can help determine what the MacOS equivalent is, but need someone to give me some hints.
Ben
http://hg.savannah.gnu.org/hgweb/octave/rev/a1b2da4967ac
... I encounter an error ...
libtool: compile: g++-4.2 -DHAVE_CONFIG_H -I. -I.. -D__LISTS__ -I/sw/lib/flex/include -I/sw/include -m32 -I/sw/include/freetype2 -I/sw/include/qhull -I/usr/include -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -D__LISTS__ -I/sw/lib/flex/include -I/sw/include -m32 -I/sw/include/freetype2 -I/sw/include/qhull -I/usr/include -I/sw/include -m32 -O1 -g -D_THREAD_SAFE -DHAVE_CONFIG_H -mieee-fp -I/sw/include -I/sw/include/freetype2 -I/sw/include -I/usr/X11/include -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -I/sw/include -m32 -O1 -g -D_THREAD_SAFE -D_THREAD_SAFE -pthread -I/sw/include -m32 -O1 -g -D_THREAD_SAFE -MT DLD-FUNCTIONS/nprocs.lo -MD -MP -MF DLD-FUNCTIONS/.deps/nprocs.Tpo -c DLD-FUNCTIONS/nprocs.c
c -fno-common -DPIC -o DLD-FUNCTIONS/.libs/nprocs.o
DLD-FUNCTIONS/nprocs.cc:29:25: error: sys/sysinfo.h: No such file or directory
DLD-FUNCTIONS/nprocs.cc: In function 'octave_value_list Fnprocs(const octave_value_list&, int)':
DLD-FUNCTIONS/nprocs.cc:48: error: 'get_nprocs' was not declared in this scope
DLD-FUNCTIONS/nprocs.cc: In function 'octave_value_list Fnprocs_conf(const octave_value_list&, int)':
DLD-FUNCTIONS/nprocs.cc:72: error: 'get_nprocs_conf' was not declared in this scope
make[3]: *** [DLD-FUNCTIONS/nprocs.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
There is no sysinfo.h for MacOS. I can help determine what the MacOS equivalent is, but need someone to give me some hints.
Ben