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

Reply via email to