From: Michael C. <mic...@ua...> - 2005-03-16 17:05:49
|
Hi, I've been upgrading a computer and when I try to make o-f I get the error mcreel@yosemite:~/octave-forge$ ./configure checking for gcc... gcc 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 accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for mkoctfile... mkoctfile In file included from /usr/include/bits/posix1_lim.h:130, from /usr/include/limits.h:144, from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122, from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7, from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11, from /usr/include/c++/3.3/climits:49, from /usr/include/c++/3.3/bits/stl_algobase.h:66, from /usr/include/c++/3.3/memory:54, from /usr/include/c++/3.3/string:48, from /usr/include/octave-2.1.67/octave/defaults.h:27, from conftest.cc:3: /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory In file included from /usr/include/errno.h:36, from /usr/include/c++/3.3/cerrno:48, from /usr/include/c++/3.3/bits/locale_facets.tcc:38, from /usr/include/c++/3.3/locale:47, from /usr/include/c++/3.3/bits/ostream.tcc:37, from /usr/include/c++/3.3/ostream:535, from /usr/include/c++/3.3/iostream:45, from /usr/include/octave-2.1.67/octave/str-vec.h:26, from /usr/include/octave-2.1.67/octave/pathsearch.h:28, from /usr/include/octave-2.1.67/octave/defaults.h:29, from conftest.cc:3: /usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory configure: error: Could not run mkoctfile The missing package escapes me, can anyone help me out? Thanks, Michael |
From: Thomas W. <we...@nu...> - 2005-03-29 08:41:44
|
Hi Michael, > The missing package escapes me, can anyone help me out? Thanks, Michael weber@iam-ma-015:~$ dpkg -S errno.h | grep linux linux-kernel-headers: /usr/include/linux/errno.h linux-kernel-headers: /usr/include/asm/errno.h linux-kernel-headers: /usr/include/asm-generic/errno.h Are kernelheaders installed on your machine? Regards, Thomas |
From: Stefan v. d. W. <st...@su...> - 2005-03-29 12:40:14
|
Hi Michael Do you have the kernel headers installed? On my Debian system I see the following copies of errno.h: libc6-dev: /usr/include/sys/errno.h libc6-dev: /usr/include/errno.h linux-kernel-headers: /usr/include/linux/errno.h linux-kernel-headers: /usr/include/asm/errno.h linux-kernel-headers: /usr/include/asm-generic/errno.h libc6-dev: /usr/include/bits/errno.h Regards Stefan On Wed, Mar 16, 2005 at 06:05:14PM -0500, Michael Creel wrote: > Hi, I've been upgrading a computer and when I try to make o-f I get the error > > mcreel@yosemite:~/octave-forge$ ./configure > checking for gcc... gcc > 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 accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking for mkoctfile... mkoctfile > In file included from /usr/include/bits/posix1_lim.h:130, > from /usr/include/limits.h:144, > from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122, > from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7, > from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11, > from /usr/include/c++/3.3/climits:49, > from /usr/include/c++/3.3/bits/stl_algobase.h:66, > from /usr/include/c++/3.3/memory:54, > from /usr/include/c++/3.3/string:48, > from /usr/include/octave-2.1.67/octave/defaults.h:27, > from conftest.cc:3: > /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory > In file included from /usr/include/errno.h:36, > from /usr/include/c++/3.3/cerrno:48, > from /usr/include/c++/3.3/bits/locale_facets.tcc:38, > from /usr/include/c++/3.3/locale:47, > from /usr/include/c++/3.3/bits/ostream.tcc:37, > from /usr/include/c++/3.3/ostream:535, > from /usr/include/c++/3.3/iostream:45, > from /usr/include/octave-2.1.67/octave/str-vec.h:26, > from /usr/include/octave-2.1.67/octave/pathsearch.h:28, > from /usr/include/octave-2.1.67/octave/defaults.h:29, > from conftest.cc:3: > /usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory > configure: error: Could not run mkoctfile > > The missing package escapes me, can anyone help me out? Thanks, Michael > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Octave-dev mailing list > Oct...@li... > https://lists.sourceforge.net/lists/listinfo/octave-dev |
From: Michael C. <mic...@ua...> - 2005-03-29 12:49:51
|
Hi Stefan and Thomas, Yes, missing kernel headers was the problem. I did a new installation of Knoppix to HD, then compiled my own kernel. Somewhere in that process the location of the header files got SNAFU'd. I managed to muddle through, though. Thanks, M. |