DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 24th February 2011
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Thanked 0 Times in 0 Posts
Default Building Linux LibreOffice on FreeBSD

You will need rsync and git. You will need to rebuild neon29.
All directories should be /compat/linux/<directory>.
You will need to enable linprocfs, procfs, and linsysfs.
You will need to load lindev and linux.
Use --with-arch=x86.
This build will only work on x86.


The build will stop at an error with /proc.


I'm posting this here because I am working on the build and this will make it easier for others to do the same.

Edit: Didn't have Java installed.
You must use gmake.

Correct the first error in libreoffice/bin/ooinstall with adding /compat/linux to /proc/meminfo at line 34.

Edit 2: In bin, edit setup to include the entire directory path for solenv. Even if you use gmake install, you will need to edit these files.

Last edited by Mr-Biscuit; 24th February 2011 at 08:03 AM.
Reply With Quote
  #2   (View Single Post)  
Old 24th February 2011
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Why not just use libreoffice from ports?

Adam
Reply With Quote
  #3   (View Single Post)  
Old 24th February 2011
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Thanked 0 Times in 0 Posts
Default

Because I wanted to see how difficult a source build would be, and because of http://www.daemonforums.org/showthread.php?t=5698

So far, it seems only that the $PATH has to be changed. It's been hosed and will be redone later.
Reply With Quote
  #4   (View Single Post)  
Old 24th February 2011
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Thanked 5 Times in 8 Posts
Default

Quote:
Originally Posted by Mr-Biscuit View Post
Because I wanted to see how difficult a source build would be, and because of http://www.daemonforums.org/showthread.php?t=5698

So far, it seems only that the $PATH has to be changed. It's been hosed and will be redone later.
Ummm... Installing from ports is a source build. If you want to see how difficult it is, why not just look at the Makefile and patches (if there are any) for libreoffice in ports?
Reply With Quote
  #5   (View Single Post)  
Old 24th February 2011
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Thanked 0 Times in 0 Posts
Default

Yes and no.
The source from the website requires a Linux environment. The port version is what the maintainers modified to work with FreeBSD.
You could install libreoffice to the ppc, x86, and amd platforms for NetBSD.

Neither ports nor packages let you have complete control over the build.

At least with this method, I can install it as a Linux binary in the Linux directory. Branding it as such would be the next step.
Reply With Quote
  #6   (View Single Post)  
Old 3rd April 2011
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Thanked 0 Times in 0 Posts
Default

I gave up on this. Why? because when it was no longer at the original section, I assumed that it had been deleted.
Whoever want, can completely remove this thread. I consider it a waste of my time even trying such when everyone doesn't believe an alternative method is possible.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Building a Server with FreeBSD 7 anomie Book reviews 10 16th April 2009 01:13 PM
FreeBSD 7.0 kernel building... daemonFromHeaven FreeBSD Installation and Upgrading 4 3rd September 2008 02:42 PM
Updating FreeBSD and Building a Custom Kernel bsdforlife FreeBSD Installation and Upgrading 8 16th August 2008 02:45 AM
Building Mozilla Firefox 3 Beta 5 on FreeBSD vi5in FreeBSD General 6 12th May 2008 11:25 PM


All times are GMT. The time now is 06:26 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick