2009/2/12 Nguyen Vu Hung <vuhung16p...@gmail.com>:
> 2009/2/12 Nguyen Vu Hung <vuhung16p...@gmail.com>:
>> 2009/2/12 Nguyen Vu Hung <vuhung16p...@gmail.com>:
>>> 2009/2/10 tora - Takamichi Akiyama <t...@openoffice.org>
>>>> Please consider use of a DEV300_mXX source tar ball instead of "svn co".
>>> I've tried:
>>>
>>> ( open a new terminal)
>>> wget and untar the followings:
>>>
>>> OOo-Dev_DEV300_m40_src_binfilter.tar.bz2
>>> OOo-Dev_DEV300_m40_src_core.tar.bz2
>>> OOo-Dev_DEV300_m40_src_extensions.tar.bz2
>>> OOo-Dev_DEV300_m40_src_l10n.tar.bz2
>>> OOo-Dev_DEV300_m40_src_system.tar.bz2
>>>
>>> cd DEV300_m40;
>>> sh vh-config.6.sh
>>> #http://aoclife.ddo.jp/~vuhung/foss/src/ooo.src/DEV300_m40/vh-config.6.sh
>>>
>>> and I got the same error 155.
>>> http://aoclife.ddo.jp/~vuhung/foss/src/ooo.src/DEV300_m40/err.2009-02-12-001.log
>>>
>>> Is that perl is broken?
>>> How can I reinstall Perl (sorry, I know this is only *my* problem
>>> specific to my system,
>>> I think I have broken Perl at some point).
>> I've reinstall Perl 5.10:
>>
>> wget perl-5.10.0.tar.gz; cd perl-5.10.0
>> sh Configure -de -Dprefix=/opt/perl
>> make; make test; sudo make install -> OK
>>
>> Now I run configure with "--with-perl-home=/opt/perl" added.
>> http://aoclife.ddo.jp/~vuhung/foss/src/ooo.src/DEV300_m40/vh-config.7.sh
>>
>> and I got the same 155 error:
>> http://aoclife.ddo.jp/~vuhung/foss/src/ooo.src/DEV300_m40/err.2009-02-12-002.log
>
> In one of your previous email, you've mentioned that $PATH should only
> contains system PATH,
> and I've yomitobashi'ed what you wrote. Sorry for that.
>
> $PATH, under CentOS or Fedora, RHEL as well, will be set to:
> PATH="/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin"
> by default.
>
> I've tried to change my $PATH back to that value before running configure.
> http://aoclife.ddo.jp/~vuhung/foss/src/ooo.src/DEV300_m40/vh-config.8.sh
>
> Now dmake is running and I will report next building errors if I encounter.
The next error is as follows.
I've rm -rf my $HOME/lib/{libcairo*,libpango*}, $HOME/include/{cairo*,pango*}
and the build is running again.

I have a lot of libraries installed to my $HOME so I think in the next try,
I will create a new user and build OOO m40 with that user.

ccache g++ -o nsNativeAppSupportBase.o -c -DXPCOM_GLUE
-DOSTYPE=\"Linux2.6.18-53.1.13\" -DOSARCH=\"Linux\"
-DSPLASH_XPM=\"./splash.xpm\" -I. -I. -I../../dist/include/xpcom
-I../../dist/include/string -I../../dist/include/webbrwsr
-I../../dist/include/widget -I../../dist/include/dom
-I../../dist/include/necko -I../../dist/include/content
-I../../dist/include/pref -I../../dist/include/appshell
-I../../dist/include/gfx -I../../dist/include/xpinstall
-I../../dist/include/uriloader -I../../dist/include/windowwatcher
-I../../dist/include/embed_base -I../../dist/include/embedcomponents
-I../../dist/include/docshell -I../../dist/include/locale
-I../../dist/include/profile -I../../dist/include/jprof
-I../../dist/include/xremoteservice -I../../dist/include/apprunner
-I../../dist/include
-I/var/www/home/ooo.src/DEV300_m40/moz/unxlngi6.pro/misc/build/mozilla/dist/include/nspr
       -fPIC   -fno-rtti -fno-exceptions -Wall -Wconversion
-Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic
-fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O
-DWIDGET_DLL=\"libwidget_gtk2.so\" -DGFXWIN_DLL=\"libgfx_gtk2.so\"
-I/usr/local/include/cairo -I/usr/local/include/pixman-1
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12     -DMOZILLA_CLIENT
-include ../../mozilla-config.h
-Wp,-MD,.deps/nsNativeAppSupportBase.pp nsNativeAppSupportBase.cpp
ccache g++ -o mozilla-bin  -fno-rtti -fno-exceptions -Wall
-Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic
-fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O
-DWIDGET_DLL=\"libwidget_gtk2.so\" -DGFXWIN_DLL=\"libgfx_gtk2.so\"
-I/usr/local/include/cairo -I/usr/local/include/pixman-1
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12    nsAppRunner.o
nsWindowCreator.o showOSAlert.o nsSigHandlers.o nsStackFrameUnix.o
nsNativeAppSupportGtk.o nsNativeAppSupportBase.o      -L../../dist/bin
-L../../dist/lib    ../../dist/lib/libstring_s.a
../../dist/lib/libxpcomglue.a  -L../../dist/bin -lmozjs
-L/var/www/home/ooo.src/DEV300_m40/moz/unxlngi6.pro/misc/build/mozilla/dist/lib
-lplds4 -lplc4 -lnspr4 -lpthread -ldl   -L/usr/local/lib -L/lib
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0    -lX11  -ldl -lm
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libgtk-x11-2.0.so:
undefined reference to `cairo_pdf_surface_create_for_stream'
/home/vuhung/lib/libpangoft2-1.0.so.0: undefined reference to
`pango_font_description_set_gravity'
/home/vuhung/lib/libpangoft2-1.0.so.0: undefined reference to `pango_version'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libgtk-x11-2.0.so:
undefined reference to `cairo_pdf_surface_set_size'
/home/vuhung/lib/libpangoft2-1.0.so.0: undefined reference to
`pango_font_description_get_gravity'
/home/vuhung/lib/libpangoft2-1.0.so.0: undefined reference to
`pango_gravity_get_type'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libgtk-x11-2.0.so:
undefined reference to `cairo_ps_surface_set_size'
/home/vuhung/lib/libpangoft2-1.0.so.0: undefined reference to
`g_once_init_enter_impl'
/home/vuhung/lib/libpangoft2-1.0.so.0: undefined reference to
`g_once_init_leave'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libgtk-x11-2.0.so:
undefined reference to `cairo_pdf_surface_create'
/home/vuhung/lib/libpangoft2-1.0.so.0: undefined reference to
`pango_layout_get_lines_readonly'
collect2: ld returned 1 exit status
gmake[2]: *** [mozilla-bin] Error 1
gmake[2]: Leaving directory
`/var/www/home/ooo.src/DEV300_m40/moz/unxlngi6.pro/misc/build/mozilla/xpfe/bootstrap'
gmake[1]: *** [tier_99] Error 2
gmake[1]: Leaving directory
`/var/www/home/ooo.src/DEV300_m40/moz/unxlngi6.pro/misc/build/mozilla'
make: *** [default] Error 2
dmake:  Error code 2, while making
'./unxlngi6.pro/misc/build/so_built_ooo_mozab'

ERROR: Error 65280 occurred while making /var/www/home/ooo.src/DEV300_m40/moz
rmdir /tmp/23222
dmake:  Error code 1, while making 'build_instsetoo_native'





-- 
Best Regards,
Nguyen Hung Vu [aka: NVH] ( in Vietnamese: Nguyễn Vũ Hưng )
vuhung16plus{remo...@gmail.dot.com , YIM: vuhung16 , Skype: vuhung16dg
A brief profile: http://www.hn.is.uec.ac.jp/~vuhung/Nguyen.Vu.Hung.html

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

Reply via email to