LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
LinkBack Search this Thread
Old 03-13-2005, 05:34 PM   #1
pnayak
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Rep: Reputation: 0
openoffice port build error on FreeBSD 5.3


Hi All,

I tried to build the openoffice-1.1 port in FreeBSD and got the followinf error

===> openoffice-1.1.4_1 depends on file: /usr/local/jdk1.5.0/bin/java - found
===> openoffice-1.1.4_1 depends on executable: gcc32 - found
===> openoffice-1.1.4_1 depends on executable: zip - found
===> openoffice-1.1.4_1 depends on executable: unzip - found
===> openoffice-1.1.4_1 depends on executable: gcp - found
===> openoffice-1.1.4_1 depends on executable: xmkmf - found
===> openoffice-1.1.4_1 depends on file: /usr/X11R6/lib/libXft.so - found
===> openoffice-1.1.4_1 depends on file: /usr/local/bin/ant - found
===> openoffice-1.1.4_1 depends on executable: gmake - found
===> openoffice-1.1.4_1 depends on executable: bison - found
===> openoffice-1.1.4_1 depends on file: /usr/local/bin/perl5.8.5 - found
===> openoffice-1.1.4_1 depends on file: /usr/local/bin/autoconf259 - found
===> openoffice-1.1.4_1 depends on executable: pkg-config - found
===> openoffice-1.1.4_1 depends on file: /usr/local/bin/intltool-extract - found
===> openoffice-1.1.4_1 depends on shared library: jpeg.9 - found
===> openoffice-1.1.4_1 depends on shared library: png.5 - found
===> openoffice-1.1.4_1 depends on shared library: mng.1 - found
===> openoffice-1.1.4_1 depends on shared library: freetype.9 - found
===> openoffice-1.1.4_1 depends on shared library: glib12.3 - found
===> openoffice-1.1.4_1 depends on shared library: gtk12.2 - found
===> openoffice-1.1.4_1 depends on shared library: ORBit.2 - found
===> openoffice-1.1.4_1 depends on shared library: glib-2.0.600 - not found
===> Verifying install for glib-2.0.600 in /usr/ports/devel/glib20
===> Returning to build of openoffice-1.1.4_1
Error: shared library "glib-2.0.600" does not exist
*** Error code 1

Stop in /usr/ports/editors/openoffice-1.1.

but I have glib installed and it's in these folders. Will a symbolic link with the name glib-2.0.600 to glib-2.0.400 work or is there a way to make this work without any work around.

/usr/local/lib/libglib-2.0.a
/usr/local/lib/libglib-2.0.so
/usr/local/lib/libglib-2.0.so.400
 
Old 03-14-2005, 10:40 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 70
How about upgrading the glib port first and then try installing openoffice.
 
Old 03-14-2005, 02:26 PM   #3
pnayak
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Hi,

Thanks for the reply. I tried that, in fact I did a portupgrade of glib and other libs that openoffice depends on. Now it compiles like for an hour and gives me an error saying libjava.so not found, java runtime environment not found. I dod ldconfig -r and the directory where the libjava.so file is located was in user/usr/compat/linux/lib/ I created a symbolic to this file from /usr/local/lib and ldconfig does report the /usr/local/lib directory but it still gives the same error.
 
Old 03-14-2005, 07:56 PM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 70
I am a FreeBSD newbie myself so can't help you much. I have found it so frustrating because similar things have happened to me and unfortunately the BSD community doesn't seem to be as big as the Linux community so sometimes getting help can take ages or it never comes.
 
Old 03-14-2005, 08:14 PM   #5
mortal
Member
 
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 206

Rep: Reputation: 30
When I installed OOffice I just simply went

"pkg_add -r openoffice"

Then I went to the open-office port on my freebsd install and ran the installation program after I had added the package and it installed from there like a windows .exe file.The java is required for some open-office functions but it is not absolutely necessary.

If you want fancy java functions then you need to install some form of java on your bsd system.
Which and from where I know not but it's prolly in the ports somewhere's.
 
Old 03-14-2005, 10:16 PM   #6
pnayak
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Hi guys,

Moral I installed openoffice through the package but I tried to do most of the installation through the ports since it's more convenient (it just takes longer, but i run it at night and go to sleep). But apparently something is wrong with the openoffice installtion with jdk 1.5 I heard 1.4 is works fine. I remember installing it on another computer from the port without problems with 1.4.

And redazz I know exactly what you mean. I was in your shoes and was really frustrated for a while but after I knew how everything works I find FreeBSD more convenient than linux for all my work in fact I am doing my thesis all on FreeBSD. So don't give up and you'll be an expert soon.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Freebsd 6.0 amd port versus i386 mortal *BSD 2 12-04-2005 04:03 PM
openoffice port provkitir *BSD 4 03-15-2005 08:35 AM
dependency hell w/ openoffice port in freebsd?! sether *BSD 12 09-09-2004 02:17 PM
Port redirection on FreeBSD zemo Linux - Networking 1 10-15-2003 07:56 AM
Jigdo freebsd port Craigwd *BSD 27 07-10-2003 11:09 PM


All times are GMT -5. The time now is 08:22 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration