LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 09-07-2004, 03:33 AM   #1
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
dependency hell w/ openoffice port in freebsd?!


the great thing about freebsd is ports - you don't have to deal with failed compiles, dependency hell, and having to download and install all sorts of files, or so i thought.

after being very satisfied with freebsd's ports system, i decided i should use it to install an office suite. i cded to /usr/ports/editors/openoffice-1.1/ and did a "make install clean". i expected it to take a while, so i let it do its job. after downloading and compiling this and that for a little while, it ran into an error, which was fairly easy to solve: i had to download some java file and place it in /usr/ports/distfiles.

after having to go through a sort of annoying registration process with sun.com, i got the file and put it where it belonged. "make install clean" again, and after a little while, it ran into a similar problem again, but with a slightly different file (still java). anyways, this kept happening, about 4 times or so.

so this evening i did "make install clean" again after getting another file. it worked for a little over 10 minutes, and got to an error, different from the ones before:

Code:
longfilename:90:internal compiler error: Segmentation fault
Please submit a bug report...etc.
gmake[somenumber]: something Error 2
gmake[somenumber]: something Error 1
...
i couldn't copy+paste the output cause it wasn't in x, but it was something like above. it didn't really give me any clue as to what to do next, so i guess i can't get openoffice through ports? i thought something like that would work. please inform me.
 
Old 09-07-2004, 03:40 AM   #2
rehab junkie
Member
 
Registered: Nov 2003
Location: /var/local/pub/bar
Distribution: OSX 10.4.9
Posts: 259

Rep: Reputation: 30
You need to first install a linux java port, such as linux-sun-jdk14, then follow the instructions to install a native java port such as jdk14 (yes, that's annoying and complex.) Then try installing openoffice.
 
Old 09-07-2004, 03:42 AM   #3
sether
Member
 
Registered: Aug 2004
Posts: 695

Original Poster
Rep: Reputation: 31
oh, i see.... thanks!
 
Old 09-07-2004, 05:51 AM   #4
sether
Member
 
Registered: Aug 2004
Posts: 695

Original Poster
Rep: Reputation: 31
ok, that got me through about a half hour of compilation and then ended on a bunch of "{standard input}:..." errors. also something else about
error making /usr/ports/editors/openofice-1.1/work/oo_1.1.2_src/jvmaccess/source
dmake: Error code 1, while making 'build_all'
 
Old 09-07-2004, 07:48 AM   #5
gorilla
LQ Newbie
 
Registered: Jul 2004
Location: Texas
Distribution: Debian Sarge
Posts: 20

Rep: Reputation: 0
What I did when I used OpenOffice with FreeBSD was a pkg_add from openoffice.org. You will need to look at the site and get the url information for the exact version that is made for your version of FreeBSD, 4.x or 5.x. If you need some more help, let me know and I will look up the information and post it here.
 
Old 09-07-2004, 10:08 AM   #6
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
It's quite possible that you're running out of RAM or disk space in /usr. The Java port is enormous and takes well over 1GB of free space in /usr to build.
 
Old 09-07-2004, 02:09 PM   #7
sether
Member
 
Registered: Aug 2004
Posts: 695

Original Poster
Rep: Reputation: 31
i was running pretty low on ram when it was compiling (8MB free), but for the last 10 minutes or so before it failed, there was about 50-60MB free. i've got 27GB free in /usr though.

i'll try pkg_add.
 
Old 09-07-2004, 02:49 PM   #8
sether
Member
 
Registered: Aug 2004
Posts: 695

Original Poster
Rep: Reputation: 31
"pkg_add http://projects.imp.ch/openoffice/cu...ce-1.1.0_1.tbz"

it fetched the package, but then ran into an error immediately. i don't have exactly what it said, but it was something about a localized version - that if i had installed the english version and switched to a localized version, it will crash instantly. it said the solution was to remove something from .sversionrc (which doesn't exist), and delete the openoffice directory in my home folder (which also doesn't exist). so i cded to /usr/ports/editors/openoffice-1.1 and did a "make deinstall", which ran into errors (couldn't delete this and that directory in /usr/local/something something), but seemed to work sort of. "make clean", and i gained about 2GB of free space back. i tried pkg_add again and the exact same error. blah, this is difficult...
 
Old 09-07-2004, 02:49 PM   #9
sether
Member
 
Registered: Aug 2004
Posts: 695

Original Poster
Rep: Reputation: 31
oops, i didn't mean to make that a link
 
Old 09-08-2004, 06:04 PM   #10
sether
Member
 
Registered: Aug 2004
Posts: 695

Original Poster
Rep: Reputation: 31
can you post the info you were talking about gorilla because i can't seem to get this to work and i can't find a solution via google.
 
Old 09-08-2004, 08:52 PM   #11
gorilla
LQ Newbie
 
Registered: Jul 2004
Location: Texas
Distribution: Debian Sarge
Posts: 20

Rep: Reputation: 0
This is the correct way to do this
" "pkg_add http://projects.imp.ch/openoffice/c...ice-1.1.0_1.tbz" "

The limitations according to the OpenOffice.org website for FreeBSD are listed on this page.
OOo 1.1.2 for 4.10 and 5.2.1-RELEASE, which means you can only have one or the other I bellieve.

http://oootranslation.services.openo...omisc/FreeBSD/
This link will take you to the page where you can choose which version of OO you want.

You then choose which version you want and then you put that file name EXACTLY after the pkg_add, or you can download the the file and using a terminal, logged in as root, do the pkg_add on your system. Make sure you grap the MP5 to make sure it is ok.

I hope this helps,
 
Old 09-08-2004, 11:54 PM   #12
sether
Member
 
Registered: Aug 2004
Posts: 695

Original Poster
Rep: Reputation: 31
thank you, i'll try that out when i get a chance.

i did the command you listed above about "pkg_add http://..." but i never checked out that link you just gave me. i'll report back if it works....
 
Old 09-09-2004, 02:17 PM   #13
sether
Member
 
Registered: Aug 2004
Posts: 695

Original Poster
Rep: Reputation: 31
i was having too much trouble installing the newer version of openoffice, but i managed to get 1.0.3 up and running. thank you all for the help.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
openoffice port build error on FreeBSD 5.3 pnayak *BSD 5 03-14-2005 10:16 PM
dependency hell riseringseeker Linux - Newbie 3 09-22-2004 01:57 PM
Dependency Hell :-( AMMullan Linux - Software 5 03-27-2004 10:51 PM
Is this what they mean by dependency hell? john_walsh54 Linux - Software 1 10-10-2003 07:52 AM
Dependency hell !!! lub0 Linux - Software 5 09-26-2003 08:17 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 10:13 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration