Re: [Libreoffice] ok to use MacPorts for dependencies??

2011-01-24 Thread Christian Lohmaier
Hi David, *,

On Mon, Jan 24, 2011 at 2:26 AM, David Dumaresq dfdumar...@gmail.com wrote:
 On 2011-01-23, at 7:28 AM, Christian Lohmaier wrote:
 On Sun, Jan 23, 2011 at 9:16 AM, Jonathan Aquilina
 eagles051...@gmail.com wrote:
 […]
 [1] You don't need /any/ external dependency unless you want to
 compile mozilla/seamonkey from scratch (i.e. when not using
 --disable-mozilla).

 Then you /need/: libIDL and glib2 and gettext (and pkg-config for 
 convenience).

 All the other stuff is useless and not needed at all.

 But you should get ccache as well, to speed up subsequent builds
 (http://ccache.samba.org)

 So what you're saying is, if my goal is to develop for libreOffice on OSX, I 
 don't need any of the dependencies mentioned above.

Exactly. You only need XCode with the 10.4u SDK when using --disable-mozilla

Unless you want to hack on document signing, ldap access or mozilla
address book integration, you don't need mozilla.

ciao
Christian
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] ok to use MacPorts for dependencies??

2011-01-24 Thread Norbert Thiebaud
On Mon, Jan 24, 2011 at 6:05 PM, David Dumaresq dfdumar...@gmail.com wrote:
 Hi Christian, et al,

 On 2011-01-24, at 7:00 AM, Christian Lohmaier wrote:

 Hi David, *,

 On Mon, Jan 24, 2011 at 2:26 AM, David Dumaresq dfdumar...@gmail.com wrote:
 On 2011-01-23, at 7:28 AM, Christian Lohmaier wrote:
 On Sun, Jan 23, 2011 at 9:16 AM, Jonathan Aquilina
 eagles051...@gmail.com wrote:
 […]
 [1] You don't need /any/ external dependency unless you want to
 compile mozilla/seamonkey from scratch (i.e. when not using
 --disable-mozilla).

 Then you /need/: libIDL and glib2 and gettext (and pkg-config for 
 convenience).

 All the other stuff is useless and not needed at all.

 But you should get ccache as well, to speed up subsequent builds
 (http://ccache.samba.org)

 So what you're saying is, if my goal is to develop for libreOffice on OSX, 
 I don't need any of the dependencies mentioned above.

 Exactly. You only need XCode with the 10.4u SDK when using --disable-mozilla

 Unless you want to hack on document signing, ldap access or mozilla
 address book integration, you don't need mozilla.

 ciao
 Christian

 After removing  cleaning up the macport packages (coreutils, etc), I 
 installed git and downloaded the source and attempt to run ./autogen.sh

./autogen.sh
 ./autogen.sh: /usr/local/bin/aclocal: /opt/local/bin/perl: bad interpreter: 
 No such file or directory

 I'm not sure what believes perl is in /opt/local/bin? On my system (osx 
 10.6.6), perl is in /usr/bin

 I have since created a sym link and autogen runs, but I wonder if you have 
 any ideas about this?

Could it be that you had a perl pulled in via macport, and you removed
it but it was still in the shell hash table ?
iow: if you remove the link, open a brand new terminal windows and run
autogen.sh there, do you still have the problem ?

other possibility. when you use ./autogen.sh, without any parameters,
it'll try to re-use the parameters you use during the last autogen.sh
(see autogen.lastrun)
if you want to make sure that you run an autogen without any parameter you need
./autogen.sh --
or rm autogen.lastrun  then  autogen.sh
if your previous autogen.sh run contained --with-perl-home= you would
pick it up again...

Norbert


 Thanks,
 Dave

 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] ok to use MacPorts for dependencies??

2011-01-24 Thread David Dumaresq
On 2011-01-24, at 4:26 PM, Norbert Thiebaud wrote:

 
 ./autogen.sh
 ./autogen.sh: /usr/local/bin/aclocal: /opt/local/bin/perl: bad interpreter: 
 No such file or directory
 
 I'm not sure what believes perl is in /opt/local/bin? On my system (osx 
 10.6.6), perl is in /usr/bin
 
 I have since created a sym link and autogen runs, but I wonder if you have 
 any ideas about this?
 
 Could it be that you had a perl pulled in via macport, and you removed
 it but it was still in the shell hash table ?
 iow: if you remove the link, open a brand new terminal windows and run
 autogen.sh there, do you still have the problem ?
 
 other possibility. when you use ./autogen.sh, without any parameters,
 it'll try to re-use the parameters you use during the last autogen.sh
 (see autogen.lastrun)
 if you want to make sure that you run an autogen without any parameter you 
 need
 ./autogen.sh --
 or rm autogen.lastrun  then  autogen.sh
 if your previous autogen.sh run contained --with-perl-home= you would
 pick it up again...
 
 Norbert

I've solved my issue with aclocal looking for /opt/local/bin/perl.

At some earlier time, I must have pulled perl in using MacPorts, and then when 
I followed the dependency steps of installing automake 
(http://wiki.documentfoundation.org/Development/Install_Mac_OS_10.6.4_Dependencies)
 ./configure determined the location of perl in /opt/local/bin and proceeded to 
build aclocal, which is used by autogen.sh.

I'm glad to have cleared that up. Now on to the fun stuff. (well it's all fun, 
isn't it...until someone pokes an eye out). ;)

Dave


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] ok to use MacPorts for dependencies??

2011-01-23 Thread Jonathan Aquilina

On 1/23/11 3:43 AM, David Dumaresq wrote:
Hello, can anyone verify whether these steps are valid for building 
LibreOffice? I'm running with 10.6.6 on a 32 bit Mac.


I got off to a bad start building manually and then found this link by 
searching the archives, so I jumped in and started with MacPorts, but 
now I look closer at the page (closer==top of the page) :p and see the 
page is marked as obsolete. can't find a replacement...(arrgh).


The page: http://www.freedesktop.org/wiki/Software/LibreOffice/HowToBuild

The instructions:


On MacOSX 10.5.8/10.6.4 (with git and wget) :

You'll need to manually install some build dependancies:

1. coreutils (from MacPorts)
2. pkgconfig (from MacPorts)
3. automake (from MacPorts)
4. wget (from MacPorts)
5. libidl (from MacPorts)
6. Archive::Zip for perl (from cpan)
7. GIT (http://code.google.com/p/git-osx-installer/)
8. Mac OS X 10.4 SDK (from XCode install)

* Note: on 10.6 MacPorts http://www.freedesktop.org/wiki/MacPorts 
defaults to x86_64 if you have a 64bit processor; so use +universal to 
install both i386  x86_64.



Thanks,
Dave


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

The link below is what you want. Do not install anything from Mac Ports

http://wiki.documentfoundation.org/Development/Install_Mac_OS_10.6.4_Dependencies
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] ok to use MacPorts for dependencies??

2011-01-23 Thread Christian Lohmaier
Hi *,

On Sun, Jan 23, 2011 at 9:16 AM, Jonathan Aquilina
eagles051...@gmail.com wrote:
 On 1/23/11 3:43 AM, David Dumaresq wrote:

 1. coreutils (from MacPorts)

You don't need those at all

 2. pkgconfig (from MacPorts)

You don't need this either [1]

 3. automake (from MacPorts)

You definitely don't need that

 4. wget (from MacPorts)

You definietly don't need that.

 5. libidl (from MacPorts)

You don't need this [1]

 6. Archive::Zip for perl (from cpan)

You definietly don't need this.

 7. GIT (http://code.google.com/p/git-osx-installer/)

You need this (unless you want to download hundreds of megabytes again
and again)

 8. Mac OS X 10.4 SDK (from XCode install)

You need this.

 http://wiki.documentfoundation.org/Development/Install_Mac_OS_10.6.4_Dependencies

This isn't any better.

I wrote this so often already:

Using system hunspell on mac is stupid, no mac user will have hunspell
installed on the system. So compiling agains system version is the
same as disabling it.

Automake/autoconf, m4, coreutils, libgmp, iconv: All useless, not needed.

[1] You don't need /any/ external dependency unless you want to
compile mozilla/seamonkey from scratch (i.e. when not using
--disable-mozilla).

Then you /need/: libIDL and glib2 and gettext (and pkg-config for convenience).

All the other stuff is useless and not needed at all.

But you should get ccache as well, to speed up subsequent builds
(http://ccache.samba.org)

ciao
Christian
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] ok to use MacPorts for dependencies??

2011-01-23 Thread Jonathan Aquilina
Christian can you update the wiki please as it has a lot of stuff which 
as your saying isn't needed.


On 1/23/11 4:28 PM, Christian Lohmaier wrote:

Hi *,

On Sun, Jan 23, 2011 at 9:16 AM, Jonathan Aquilina
eagles051...@gmail.com  wrote:

On 1/23/11 3:43 AM, David Dumaresq wrote:
1. coreutils (from MacPorts)

You don't need those at all


2. pkgconfig (from MacPorts)

You don't need this either [1]


3. automake (from MacPorts)

You definitely don't need that


4. wget (from MacPorts)

You definietly don't need that.


5. libidl (from MacPorts)

You don't need this [1]


6. Archive::Zip for perl (from cpan)

You definietly don't need this.


7. GIT (http://code.google.com/p/git-osx-installer/)

You need this (unless you want to download hundreds of megabytes again
and again)


8. Mac OS X 10.4 SDK (from XCode install)

You need this.


http://wiki.documentfoundation.org/Development/Install_Mac_OS_10.6.4_Dependencies

This isn't any better.

I wrote this so often already:

Using system hunspell on mac is stupid, no mac user will have hunspell
installed on the system. So compiling agains system version is the
same as disabling it.

Automake/autoconf, m4, coreutils, libgmp, iconv: All useless, not needed.

[1] You don't need /any/ external dependency unless you want to
compile mozilla/seamonkey from scratch (i.e. when not using
--disable-mozilla).

Then you /need/: libIDL and glib2 and gettext (and pkg-config for convenience).

All the other stuff is useless and not needed at all.

But you should get ccache as well, to speed up subsequent builds
(http://ccache.samba.org)

ciao
Christian


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] ok to use MacPorts for dependencies??

2011-01-23 Thread David Dumaresq

On 2011-01-23, at 7:28 AM, Christian Lohmaier wrote:

 Hi *,
 
 On Sun, Jan 23, 2011 at 9:16 AM, Jonathan Aquilina
 eagles051...@gmail.com wrote:
 On 1/23/11 3:43 AM, David Dumaresq wrote:
 
 1. coreutils (from MacPorts)
 
 You don't need those at all
 
 2. pkgconfig (from MacPorts)
 
 You don't need this either [1]
 
 3. automake (from MacPorts)
 
 You definitely don't need that
 
 4. wget (from MacPorts)
 
 You definietly don't need that.
 
 5. libidl (from MacPorts)
 
 You don't need this [1]
 
 6. Archive::Zip for perl (from cpan)
 
 You definietly don't need this.
 
 7. GIT (http://code.google.com/p/git-osx-installer/)
 
 You need this (unless you want to download hundreds of megabytes again
 and again)
 
 8. Mac OS X 10.4 SDK (from XCode install)
 
 You need this.
 
 http://wiki.documentfoundation.org/Development/Install_Mac_OS_10.6.4_Dependencies
 
 This isn't any better.
 
 I wrote this so often already:
 
 Using system hunspell on mac is stupid, no mac user will have hunspell
 installed on the system. So compiling agains system version is the
 same as disabling it.
 
 Automake/autoconf, m4, coreutils, libgmp, iconv: All useless, not needed.
 
 [1] You don't need /any/ external dependency unless you want to
 compile mozilla/seamonkey from scratch (i.e. when not using
 --disable-mozilla).
 
 Then you /need/: libIDL and glib2 and gettext (and pkg-config for 
 convenience).
 
 All the other stuff is useless and not needed at all.
 
 But you should get ccache as well, to speed up subsequent builds
 (http://ccache.samba.org)

So what you're saying is, if my goal is to develop for libreOffice on OSX, I 
don't need any of the dependencies mentioned above.
Well okay, I'll clean up my system (uninstall said dependencies) and move on to 
getting the source and attempting a build. 

Thanks,
Dave

 
 ciao
 Christian
 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] ok to use MacPorts for dependencies??

2011-01-23 Thread David Dumaresq

On 2011-01-23, at 12:16 AM, Jonathan Aquilina wrote:

 On 1/23/11 3:43 AM, David Dumaresq wrote:
 
 Hello, can anyone verify whether these steps are valid for building 
 LibreOffice? I'm running with 10.6.6 on a 32 bit Mac.
 
 I got off to a bad start building manually and then found this link by 
 searching the archives, so I jumped in and started with MacPorts, but now I 
 look closer at the page (closer==top of the page) :p and see the page is 
 marked as obsolete. can't find a replacement...(arrgh). 
 
 The page: http://www.freedesktop.org/wiki/Software/LibreOffice/HowToBuild
 
 The instructions:
 On MacOSX 10.5.8/10.6.4 (with git and wget) :
 
 You'll need to manually install some build dependancies:
 
 1. coreutils (from MacPorts)
 2. pkgconfig (from MacPorts)
 3. automake (from MacPorts)
 4. wget (from MacPorts)
 5. libidl (from MacPorts)
 6. Archive::Zip for perl (from cpan)
 7. GIT (http://code.google.com/p/git-osx-installer/)
 8. Mac OS X 10.4 SDK (from XCode install)
 * Note: on 10.6 MacPorts defaults to x86_64 if you have a 64bit processor; 
 so use +universal to install both i386  x86_64. 
 
 
 Thanks,
 Dave
 
 
 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice
 The link below is what you want. Do not install anything from Mac Ports
 
 http://wiki.documentfoundation.org/Development/Install_Mac_OS_10.6.4_Dependencies
 

Thanks, but I'm having warnings at glib2 and failure after that step. According 
to Christian later in this thread, the dependencies are unnecessary so I'll 
move on to building from source.

Thanks again,
Dave


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] ok to use MacPorts for dependencies??

2011-01-22 Thread David Dumaresq
Hello, can anyone verify whether these steps are valid for building 
LibreOffice? I'm running with 10.6.6 on a 32 bit Mac.

I got off to a bad start building manually and then found this link by 
searching the archives, so I jumped in and started with MacPorts, but now I 
look closer at the page (closer==top of the page) :p and see the page is marked 
as obsolete. can't find a replacement...(arrgh). 

The page: http://www.freedesktop.org/wiki/Software/LibreOffice/HowToBuild

The instructions:
On MacOSX 10.5.8/10.6.4 (with git and wget) :

You'll need to manually install some build dependancies:

1. coreutils (from MacPorts)
2. pkgconfig (from MacPorts)
3. automake (from MacPorts)
4. wget (from MacPorts)
5. libidl (from MacPorts)
6. Archive::Zip for perl (from cpan)
7. GIT (http://code.google.com/p/git-osx-installer/)
8. Mac OS X 10.4 SDK (from XCode install)
* Note: on 10.6 MacPorts defaults to x86_64 if you have a 64bit processor; so 
use +universal to install both i386  x86_64. 


Thanks,
Dave

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice