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: Tatsuro MATSUOKA
Subject: Re: cannot compile liboctave/file-ops.cc; mkfifo issue (MinGW build)
Date: Wed, 6 Jan 2010 13:28:27 +0900 (JST)

Hello 

Thank you for your help

--- "John W. Eaton" wrote:

> 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.

At writing your mail I have not noticed your another reply (below) and have not 
tried the new sources.
*******************
http://www-old.cae.wisc.edu/pipermail/octave-maintainers/2010-January/014491.html

jwe wrote
| In both cases information of libgnu seemed not to be reflected for liboctave 
building.
| Perhaps a flag for '-I../libgnu' is  missing for compiling sources for 
liboctave.

Ah, OK, now I see the problem.  I checked in the following change.

  http://hg.savannah.gnu.org/hgweb/octave/rev/ec0c445d0d6f

Does that help?


******************

I am now testing the below 

bootstrap.conf: include mkfifo in the module list default tip   changeset | 
files
bootstrap.conf: remove nonexistent "fstat" module       changeset | files
include -I../libgnu in AM_CPPFLAGS      changeset | files

I have perhaps met other problem due to adding -I../libgnu.
Perhaps it is the problem of gnulib in MinGW environments.


I will report in the different post.

Regards

Tatsuro
 

--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/


reply via email to

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