Re: Help.. Build error about missing processdeps.awk under Windows7

2014-09-02 Thread Steve Yin
Hi Hung,

The command make clean is for the folder main or module which is
changed to gbuild one. You can refer this wiki for more information.
https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO

I think you cygwin version is OK.

Here is my configure parameters for your reference

autoconf
./configure \
--with-ant-home=/cygdrive/d/Apache/BuildTools/apache-ant-1.8.4 \
--with-cl-home=/cygdrive/d/Program\ Files\ \(x86\)/Microsoft\ Visual\
Studio\ 9.0/VC \
--with-mspdb-path=/cygdrive/d/Program\ Files\ \(x86\)/Microsoft\ Visual\
Studio\ 9.0/Common7/IDE \
--with-psdk-home=/cygdrive/d/Apache/BuildTools/MSSDK_v6.1 \
--with-directx-home=/cygdrive/d/Apache/BuildTools/directx \
--with-nsis-path=/cygdrive/d/Program\ Files\ \(x86\)/NSIS \
--with-frame-home=/cygdrive/d/Apache/BuildTools/MSSDK_v6.1 \
--with-midl-path=/cygdrive/d/Apache/BuildTools/MSSDK_v6.1/Bin \
--with-csc-path=/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5 \
--with-asm-home=/cygdrive/d/Program\ Files\ \(x86\)/Microsoft\ Visual\
Studio\ 9.0/VC/Bin \
--with-jdk-home=/cygdrive/d/Program\ Files\ \(x86\)/Java/jdk1.7.0_25 \
--with-dmake-url=
http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2 \
--with-epm-url=
http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz
\
--without-junit --without-stlport --enable-verbose --enable-category-b
--enable-bundled-dictionaries --with-dict --disable-nss-module
./bootstrap
source ./winenv.set.sh
cd instsetoo_native/
build --all -P4



On Tue, Sep 2, 2014 at 8:42 AM, Hung Mark mark...@gmail.com wrote:

 Hi Steve,

 How to run make clean under solenv?
 Do you mean build --prepare --from solenv ?

 I rebuild by  removing evrything not in original repository, except
 main/external  extra_source.
 But it still doesn't work.

 Is it related to cygwin ?
 I'm using 1.7.32

 or Make  autoconf ?
 Here are my versions:
 $ make -v
 GNU Make 4.0
 Built for i686-pc-cygwin
 Copyright (C) 1988-2013 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later 
 http://gnu.org/licenses/gpl.html
 
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.

 mh@Aoodev-Win7 ~/aoo/main
 $ autoconf -h
 Usage: /usr/bin/autoconf-2.69 [OPTION]... [TEMPLATE-FILE]

 Sincerely.





 2014-09-01 10:51 GMT+08:00 Steve Yin steve.yin@gmail.com:

  I have never seen this problem before, but you can try to run make
 clean
  under the folder solenv and rebuild it to check if the problem still
  exists.
 
 
  On Sun, Aug 31, 2014 at 12:58 PM, Hung Mark mark...@gmail.com wrote:
 
   I'm bulding latest OpenOffice source code under Windows 7 (64-bit).
  
   It complaint about missing processdeps.awk in gtest module (complete
  error
   message in the attached file):
  
   awk: fatal: can't open source file
   `C:/cygwinc:/cygwin/home/mh/aoo/main/solenv/gbuild/processdeps.awk' for
   reading (No such file or directory)
  
   I found a similar post when searching the mailing list archive,   it
 said
   that the error message disappear after changing from source release to
   subversion repository. I tried, but building code with subversion repos
   does not solve the problem
  
  
   Here is how I configure it:
  
   export SourceMain=`pwd`
   export SDK_PATH=/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0
   autoconf  \
   ./configure \
--with-frame-home=$SDK_PATH \
--with-psdk-home=$SDK_PATH \
--with-midl-path=$SDK_PATH/bin \
--disable-directx  \
--enable-dbgutil \
--with-ant-home=/cygdrive/c/apache-ant-1.9.4 \
--with-cl-home=/cygdrive/c/PROGRA~2/MICROS~1.0/VC \
--with-java-home=/cygdrive/c/Program Files (x86)/Java/jdk1.7.0_67/ \
--with-dmake-url=
   http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2;
 \
--with-epm-url=
   http://www.msweet.org/files/project2/epm-3.7-source.tar.gz; \
--enable-pch \
--disable-atl \
--disable-activex \
--disable-binfilter \
--without-junit \
--with-lang=en-US zh-TW
  
  
   When I check winenv.set.sh , there is still lots of environment
 variable
   begin with C:\,
   I'm not sure if it is the cause of the problem. Could any one suggest
 how
   to build it properly? Thanks.
  
  
  
   --
   Mark Hung
  
  
   -
   To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
   For additional commands, e-mail: dev-h...@openoffice.apache.org
  
 
 
 
  --
  Best Regards,
 
  Steve Yin
 



 --
 Mark Hung




-- 
Best Regards,

Steve Yin


Re: Help.. Build error about missing processdeps.awk under Windows7

2014-08-31 Thread Steve Yin
I have never seen this problem before, but you can try to run make clean
under the folder solenv and rebuild it to check if the problem still
exists.


On Sun, Aug 31, 2014 at 12:58 PM, Hung Mark mark...@gmail.com wrote:

 I'm bulding latest OpenOffice source code under Windows 7 (64-bit).

 It complaint about missing processdeps.awk in gtest module (complete error
 message in the attached file):

 awk: fatal: can't open source file
 `C:/cygwinc:/cygwin/home/mh/aoo/main/solenv/gbuild/processdeps.awk' for
 reading (No such file or directory)

 I found a similar post when searching the mailing list archive,   it said
 that the error message disappear after changing from source release to
 subversion repository. I tried, but building code with subversion repos
 does not solve the problem


 Here is how I configure it:

 export SourceMain=`pwd`
 export SDK_PATH=/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0
 autoconf  \
 ./configure \
  --with-frame-home=$SDK_PATH \
  --with-psdk-home=$SDK_PATH \
  --with-midl-path=$SDK_PATH/bin \
  --disable-directx  \
  --enable-dbgutil \
  --with-ant-home=/cygdrive/c/apache-ant-1.9.4 \
  --with-cl-home=/cygdrive/c/PROGRA~2/MICROS~1.0/VC \
  --with-java-home=/cygdrive/c/Program Files (x86)/Java/jdk1.7.0_67/ \
  --with-dmake-url=
 http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2; \
  --with-epm-url=
 http://www.msweet.org/files/project2/epm-3.7-source.tar.gz; \
  --enable-pch \
  --disable-atl \
  --disable-activex \
  --disable-binfilter \
  --without-junit \
  --with-lang=en-US zh-TW


 When I check winenv.set.sh , there is still lots of environment variable
 begin with C:\,
 I'm not sure if it is the cause of the problem. Could any one suggest how
 to build it properly? Thanks.



 --
 Mark Hung


 -
 To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
 For additional commands, e-mail: dev-h...@openoffice.apache.org




-- 
Best Regards,

Steve Yin


Help.. Build error about missing processdeps.awk under Windows7

2014-08-30 Thread Hung Mark
I'm bulding latest OpenOffice source code under Windows 7 (64-bit).

It complaint about missing processdeps.awk in gtest module (complete error
message in the attached file):

awk: fatal: can't open source file
`C:/cygwinc:/cygwin/home/mh/aoo/main/solenv/gbuild/processdeps.awk' for
reading (No such file or directory)

I found a similar post when searching the mailing list archive,   it said
that the error message disappear after changing from source release to
subversion repository. I tried, but building code with subversion repos
does not solve the problem


Here is how I configure it:

export SourceMain=`pwd`
export SDK_PATH=/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0
autoconf  \
./configure \
 --with-frame-home=$SDK_PATH \
 --with-psdk-home=$SDK_PATH \
 --with-midl-path=$SDK_PATH/bin \
 --disable-directx  \
 --enable-dbgutil \
 --with-ant-home=/cygdrive/c/apache-ant-1.9.4 \
 --with-cl-home=/cygdrive/c/PROGRA~2/MICROS~1.0/VC \
 --with-java-home=/cygdrive/c/Program Files (x86)/Java/jdk1.7.0_67/ \
 --with-dmake-url=
http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2; \
 --with-epm-url=http://www.msweet.org/files/project2/epm-3.7-source.tar.gz;
\
 --enable-pch \
 --disable-atl \
 --disable-activex \
 --disable-binfilter \
 --without-junit \
 --with-lang=en-US zh-TW


When I check winenv.set.sh , there is still lots of environment variable
begin with C:\,
I'm not sure if it is the cause of the problem. Could any one suggest how
to build it properly? Thanks.



-- 
Mark Hung
$ build --from gtest
build -- version: 275224

WARNING(S):
Some modules contain old output trees! Please check: gtest

ATTENTION: If you are performing an incompatible build, please break the build 
with Ctrl+C and prepare the workspace with --prepare switch!


=
Building module gtest
=

Entering /home/mh/aoo/ext_libraries/gtest

mkdir: cannot create directory './wntmsci12/misc/build/gtest-1.7.0/': File 
exists
make: *** Warning: .LOW_RESOLUTION_TIME file 
'/home/mh/aoo/main/solver/420/wntmsci12/inc/gtest/internal/gtest-port.h' has a 
high resolution time stamp
[ build RES ] gtest/default
[ build RES ]
R=c:/cygwin/home/mh/aoo  O=$R/main/solver/420/wntmsci12  
W=$R/main/solver/420/wntmsci12/workdir  S=$R/main   $O/bin/makedepend.exe 
-I. -IC:/cygwin$O/inc/stl -IC:/cygwin$O/inc/external -IC:/cygwin$O/inc 
-IC:/cygwin$S/solenv/wntmsci12/inc -IC:/cygwin$S/solenv/inc -IC:/cygwin$S/res 
-IC:/PROGRA~2/Java/JDK17~1.0_6/include/win32 
-IC:/PROGRA~2/Java/JDK17~1.0_6/include 
-IC:/PROGRA~1/MICROS~2/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include 
 -DWINVER=0x0400 -DWIN32  -DADDITIONAL_VERINFO1 -DADDITIONAL_VERINFO2 
-DADDITIONAL_VERINFO3  $W/Dep/WinResTarget/gtest/default.d -f - | awk -f 
C:/cygwin$S/solenv/gbuild/processdeps.awk -v 
OBJECTFILE=$W/WinResTarget/gtest/default.res -v OUTDIR=$O/ -v WORKDIR=$W/ -v 
SRCDIR=$S/ -v REPODIR=$R/  $W/Dep/WinResTarget/gtest/default.d
awk: fatal: can't open source file 
`C:/cygwinc:/cygwin/home/mh/aoo/main/solenv/gbuild/processdeps.awk' for reading 
(No such file or directory)
C:/cygwin/home/mh/aoo/main/solenv/gbuild/WinResTarget.mk:59: recipe for target 
'/home/mh/aoo/main/solver/420/wntmsci12/workdir/WinResTarget/gtest/default.res' 
failed
make: *** 
[/home/mh/aoo/main/solver/420/wntmsci12/workdir/WinResTarget/gtest/default.res] 
Error 2
dmake:  Error code 2, while making './wntmsci12/misc/build/so_built_oo_gtest'

1 module(s):
gtest
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /home/mh/aoo/ext_libraries/gtest

When you have fixed the errors in that module you can resume the build by 
running:

build --from gtest


mh@Aoodev-Win7 ~/aoo/main/instsetoo_native
$

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org