Mailing List Archive

open-xchange ebuild howto
I have never used ebuild before so I dont know ehat to do with
Ebuild for open-xchange http://bugs.gentoo.org/show_bug.cgi?id=62197

I have manage to install all JAVA files that is needed for that ebuild
but I dont know how to start instalation of open-xchange...

where should I download ebuild, what to type, "emerge open-xchange",
"ebuild open-xchange" or...

TNX

--
gentoo-user@gentoo.org mailing list
Re: open-xchange ebuild howto [ In reply to ]
On Thursday 07 October 2004 09:51, Khan wrote:
> I have never used ebuild before so I dont know ehat to do with
> Ebuild for open-xchange http://bugs.gentoo.org/show_bug.cgi?id=62197
>
> I have manage to install all JAVA files that is needed for that ebuild
> but I dont know how to start instalation of open-xchange...
>
> where should I download ebuild, what to type, "emerge open-xchange",
> "ebuild open-xchange" or...

mkdir -p /usr/local/portage/net-misc/open-xchange

Edit /etc/make.conf, and set PORTDIR_OVERLAY to /usr/local/portage
Put the ebuild in the directory you just created

ebuild /usr/local/portage/net-misc/open-xchange/open-xchange-version.ebuild \
digest
(the \ is there to make that one command)
emerge open-xchange

--
Mike Williams
Re: open-xchange ebuild howto [ In reply to ]
Mike Williams wrote:
> On Thursday 07 October 2004 09:51, Khan wrote:
>
>>I have never used ebuild before so I dont know ehat to do with
>>Ebuild for open-xchange http://bugs.gentoo.org/show_bug.cgi?id=62197
>>
>>I have manage to install all JAVA files that is needed for that ebuild
>>but I dont know how to start instalation of open-xchange...
>>
>>where should I download ebuild, what to type, "emerge open-xchange",
>>"ebuild open-xchange" or...
>
>
> mkdir -p /usr/local/portage/net-misc/open-xchange
>
> Edit /etc/make.conf, and set PORTDIR_OVERLAY to /usr/local/portage
> Put the ebuild in the directory you just created
>
> ebuild /usr/local/portage/net-misc/open-xchange/open-xchange-version.ebuild \
> digest
> (the \ is there to make that one command)
> emerge open-xchange

This is little closer, but I got error:

BUILD FAILED
/var/tmp/portage/open-xchange-0.7.3/work/open-xchange.0.7.3/build.xml:72:
The following error occurred while executing this line:
/var/tmp/portage/open-xchange-0.7.3/work/open-xchange.0.7.3/build.xml:77:
Compile failed; see the compiler error output for details.

Total time: 29 seconds
make[1]: *** [java] Error 1
make[1]: Leaving directory
`/var/tmp/portage/open-xchange-0.7.3/work/open-xchange.0.7.3/javabuild'
make: *** [all-recursive] Error 1

!!! ERROR: net-misc/open-xchange-0.7.3 failed.
!!! Function src_compile, Line 130, Exitcode 2
!!! make failed

--
gentoo-user@gentoo.org mailing list
Re: open-xchange ebuild howto [ In reply to ]
Khan wrote:
> Mike Williams wrote:
>
>> On Thursday 07 October 2004 09:51, Khan wrote:
>>
>>> I have never used ebuild before so I dont know ehat to do with
>>> Ebuild for open-xchange http://bugs.gentoo.org/show_bug.cgi?id=62197
>>>
>>> I have manage to install all JAVA files that is needed for that ebuild
>>> but I dont know how to start instalation of open-xchange...
>>>
>>> where should I download ebuild, what to type, "emerge open-xchange",
>>> "ebuild open-xchange" or...
>>
>>
>>
>> mkdir -p /usr/local/portage/net-misc/open-xchange
>>
>> Edit /etc/make.conf, and set PORTDIR_OVERLAY to /usr/local/portage
>> Put the ebuild in the directory you just created
>>
>> ebuild
>> /usr/local/portage/net-misc/open-xchange/open-xchange-version.ebuild \
>> digest
>> (the \ is there to make that one command)
>> emerge open-xchange
>
>
> This is little closer, but I got error:
>
> BUILD FAILED
> /var/tmp/portage/open-xchange-0.7.3/work/open-xchange.0.7.3/build.xml:72:
> The following error occurred while executing this line:
> /var/tmp/portage/open-xchange-0.7.3/work/open-xchange.0.7.3/build.xml:77:
> Compile failed; see the compiler error output for details.
>
> Total time: 29 seconds
> make[1]: *** [java] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/open-xchange-0.7.3/work/open-xchange.0.7.3/javabuild'
> make: *** [all-recursive] Error 1
>
> !!! ERROR: net-misc/open-xchange-0.7.3 failed.
> !!! Function src_compile, Line 130, Exitcode 2
> !!! make failed

Hmm, it seems that it has to do something with patch
http://bugs.gentoo.org/attachment.cgi?id=40677&action=view but I'm not
shure how to apply it or where...

--
gentoo-user@gentoo.org mailing list
Re: open-xchange ebuild howto [ In reply to ]
Khan kirjoitti viestissään (lähetysaika torstai, 7. lokakuuta 2004 16:08):
> > !!! ERROR: net-misc/open-xchange-0.7.3 failed.
> > !!! Function src_compile, Line 130, Exitcode 2
> > !!! make failed
>
> Hmm, it seems that it has to do something with patch
> http://bugs.gentoo.org/attachment.cgi?id=40677&action=view but I'm not
> shure how to apply it or where...

Just copy the patch
into /usr/local/portage/net-misc/open-xchange/files/build.xml.in.patch and
add the following line (marked with +) to the ebuild.

src_unpack() {
unpack ${A} ; cd ${S}
rm -rf ${S}/autom4te.cache
+ epatch ${FILESDIR}/build.xml.in.patch
aclocal -I m4/ && autoconf || die "reconfigure failed"
}

The, just emerge open-xchange

--
Jani-Matti Hätinen

--
gentoo-user@gentoo.org mailing list