octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cannot compile liboctave/file-ops.cc; mkfifo issue (MinGW build)


From: John W. Eaton
Subject: Re: cannot compile liboctave/file-ops.cc; mkfifo issue (MinGW build)
Date: Tue, 5 Jan 2010 04:00:13 -0500

On  5-Jan-2010, Tatsuro MATSUOKA wrote:

| There seems to exist file location problems in configure process?
| I have met the following at present,
| 
| 1. xalloc.h was not copied to directory 'libgnu'. It is required to compile 
to mkdir.c

I think the mkdir module in gnulib should depend on the xalloc
module.  I submitted a patch to the gnulib maintainers for that.

| 3. mkfifo.c seemed not to be copied to the directory libgnu. Of course it was 
not complied and not
| included in libgnu.a in the make process of octave.

Oops.  I checked in the following change.

  http://hg.savannah.gnu.org/hgweb/octave/rev/4058ff089fa3

| For 1, I manually copied xalloc.h into libgnu directory manually.
| For 2. I have a special directro named 'c:/programs/OctaveBuild' in which 
dependencies are saved. 
| at the configure 
| 
| export LDFLAGS='-Lc:/Programs/OctaveBuild/lib  -LC:/Programs/WinDevTools/lib
| -Lc:/Programs/GnuWin32/lib -lsupc++'
| export CPPFLAGS='-Ic:/Programs/OctaveBuild/include 
-Ic:/Programs/WinDevTools/include
| -Ic:/Programs/GnuWin32/include'
| 
| I have made a directry c:/Programs/OctaveBuild/include/sys/  and copy 
sys_stat.h as stat.h into
| c:/Programs/OctaveBuild/include/sys/.

I don't understand why you should need to do this now that both
-I../libgnu and -I$(top_srcdir)/libgnu appear in the CPPFLAGS
variable.  The gnulib stat.h file should be placed in the libgnu/sys
subdirectory in your build tree and the compiler should find it
there.  You should not have to copy any files by hand to build
Octave.  The configure script and Makefiles should do all the work.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]