You are not logged in.
Pages: 1
Hello,
I want to build ooo-build (www.go-oo.org) because of its advanced media support (uses gstreamer).
But it won't even start compiling, due to 'rpm' not being installed.
Any hints how to ship around this?
pkgname=ooo-build
pkgver=2.1.4.9
pkgrel=1
pkgdesc="
arch=('i686' 'x86_64')
url="http://go-oo.org"
license=('GPL')
depends=()
makedepends=()
source=(http://download.go-oo.org/OOH680/ooo-build-2.4.1.9.tar.gz)
md5sums=('8a1b1483371c35092a2b2fd431b742b5')
build() {
# http://download.go-oo.org/OOH680/ooh680-m17-system.tar.bz2 // core, lang
cd $startdir/src/ooo-build-2.4.1.9
./configure --with-distro=CommonLinux --disable-kde
./download
make || return 1
make DESTDIR=$startdir/pkg install || return 1
}
checking which package format to use... rpm
checking for rpm... configure: error: not found
make: *** [stamp/build] Error 1
Thanks in advance!
Offline
Seems like "CommonLinux" meens "something-rpm-based" to the upstreamers. I tried to replace it with "Frugalware" and got
checking for required Perl modules... Can't locate Archive/Zip.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
configure: error: Failed to find some modules
make: *** [stamp/build] Fehler 1
I think it is a missing perl lib, something concerning zip. Maybe some perl expert knows exactly what to add.
Offline
pacman -S perl-archive-zip
Offline
pacman -S perl-archive-zip
Wow that was fast!
Now I have
pkgname=ooo-build
pkgver=2.1.4.9
pkgrel=1
pkgdesc="Open Office with advanced media support"
arch=('i686' 'x86_64')
url="http://go-oo.org"
license=('GPL')
depends=('libwpd' 'perl-archive-zip')
makedepends=('mono' 'jdk')
source=(http://download.go-oo.org/OOH680/ooo-build-2.4.1.9.tar.gz)
md5sums=('8a1b1483371c35092a2b2fd431b742b5')
build() {
# http://download.go-oo.org/OOH680/ooh680-m17-system.tar.bz2 // core, lang
cd $startdir/src/ooo-build-2.4.1.9
./configure --with-distro=Frugalware --disable-kde --with-jdk-home=/usr
./download
make || return 1
make DESTDIR=$startdir/pkg install || return 1
}
and the error
checking which hsqldb to use... internal
checking which beanshell to use... internal
checking which xml-apis to use... external
checking for /usr/share/java/xml-commons-apis.jar... no
checking for /usr/share/java/xml-apis.jar... no
checking for /usr/share/java/jaxp-1.2.jar... no
configure: error: xml-apis.jar replacement not found
Any java experts out there?
Offline
xml-apis.jar is contained in the xerces2-java package.
Offline
Now I have
pkgname=ooo-build
pkgver=2.1.4.9
pkgrel=1
pkgdesc="Open Office with advanced media support"
arch=('i686' 'x86_64')
url="http://go-oo.org"
license=('GPL')
depends=('libwpd' 'perl-archive-zip' 'xalan-java' 'gstreamer0.10' \
'gstreamer0.10-base-plugins')
makedepends=('mono' 'jdk')
source=(http://download.go-oo.org/OOH680/ooo-build-2.4.1.9.tar.gz)
md5sums=('8a1b1483371c35092a2b2fd431b742b5')
build() {
# http://download.go-oo.org/OOH680/ooh680-m17-system.tar.bz2 // core, lang
cd $startdir/src/ooo-build-2.4.1.9
./configure --with-distro=Frugalware --disable-kde --with-jdk-home=/usr/
./download
make || return 1
make DESTDIR=$startdir/pkg install || return 1
}
but i get
Making: ../unxlngi6.pro/obj/cppsetup.obj
gcc -fmessage-length=0 -c -Os -fno-strict-aliasing -I. -I../unxlngi6.pro/inc/make_makedepend -I../inc -I../inc/pch -I../inc -I../unx/inc -I../unxlngi6.pro/inc -I. -I/home/haawda/abs/ooo-build/src/ooo-build-2.4.1.9/build/ooh680-m17/solver/680/unxlngi6.pro/incdont_use_stl -I/home/haawda/abs/ooo-build/src/ooo-build-2.4.1.9/build/ooh680-m17/solver/680/unxlngi6.pro/inc/external -I/home/haawda/abs/ooo-build/src/ooo-build-2.4.1.9/build/ooh680-m17/solver/680/unxlngi6.pro/inc -I/home/haawda/abs/ooo-build/src/ooo-build-2.4.1.9/build/ooh680-m17/solenv/unxlngi6/inc -I/home/haawda/abs/ooo-build/src/ooo-build-2.4.1.9/build/ooh680-m17/solenv/inc -I/home/haawda/abs/ooo-build/src/ooo-build-2.4.1.9/build/ooh680-m17/res -I/home/haawda/abs/ooo-build/src/ooo-build-2.4.1.9/build/ooh680-m17/solver/680/unxlngi6.pro/incdont_use_stl -I/home/haawda/abs/ooo-build/src/ooo-build-2.4.1.9/build/ooh680-m17/solenv/inc/Xp31 -I/usr/include -I/usr/include/linux -I/usr/include/native_threads/include -I/usr/include -I/home/haawda/abs/ooo-build/src/ooo-build-2.4.1.9/build/ooh680-m17/solver/680/unxlngi6.pro/inc/offuh -I. -I../res -I. -pipe -mtune=pentiumpro -g -Wall -Wextra -Wendif-labels -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../../include/c++/4.3.2 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DCUI -DSOLAR_JAVA -DOOH680=OOH680 -DNO_X11 -DXP_PC -DHW_THREADS -DINCLUDEDIR=\".\" -o ../unxlngi6.pro/obj/cppsetup.o cppsetup.c
In file included from /usr/include/stdio.h:75,
from def.h:39,
from cppsetup.c:29:
/usr/include/libio.h:332: error: expected specifier-qualifier-list before 'size_t'
/usr/include/libio.h:364: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:373: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:493: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
In file included from def.h:39,
from cppsetup.c:29:
/usr/include/stdio.h:312: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:319: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:363: error: format string argument not a string type
/usr/include/stdio.h:365: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:678: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
/usr/include/stdio.h:684: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
/usr/include/stdio.h:706: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread_unlocked'
/usr/include/stdio.h:708: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
In file included from def.h:40,
from cppsetup.c:29:
/usr/include/stdlib.h:140: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ctype_get_mb_cur_max'
In file included from /usr/include/sys/types.h:133,
from /usr/include/stdlib.h:320,
from def.h:40,
from cppsetup.c:29:
/usr/include/linux/time.h:10: error: expected specifier-qualifier-list before 'time_t'
/usr/include/linux/time.h:16: error: expected specifier-qualifier-list before 'time_t'
In file included from /usr/include/sys/select.h:46,
from /usr/include/sys/types.h:220,
from /usr/include/stdlib.h:320,
from def.h:40,
from cppsetup.c:29:
/usr/include/bits/time.h:70: error: redefinition of 'struct timeval'
In file included from def.h:40,
from cppsetup.c:29:
/usr/include/stdlib.h:337: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:367: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:369: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:471: error: expected ')' before '__size'
/usr/include/stdlib.h:473: error: expected ')' before '__nmemb'
/usr/include/stdlib.h:485: error: expected declaration specifiers or '...' before 'size_t'
In file included from /usr/include/stdlib.h:497,
from def.h:40,
from cppsetup.c:29:
/usr/include/alloca.h:33: error: expected ')' before '__size'
In file included from def.h:40,
from cppsetup.c:29:
/usr/include/stdlib.h:502: error: expected ')' before '__size'
/usr/include/stdlib.h:507: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:507: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:684: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:684: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:685: error: nonnull argument with out-of-range operand number (argument 1, operand 5)
/usr/include/stdlib.h:689: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:689: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:690: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:767: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:770: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:774: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:778: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:787: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:790: error: expected ')' before '*' token
/usr/include/stdlib.h:794: error: expected declaration specifiers or '...' before 'wchar_t'
/usr/include/stdlib.h:798: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mbstowcs'
/usr/include/stdlib.h:801: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wcstombs'
cppsetup.c: In function '_my_if_errors':
cppsetup.c:122: warning: unused parameter 'ip'
cppsetup.c:123: warning: unused parameter 'cp'
cppsetup.c:124: warning: unused parameter 'expecting'
cppsetup.c: In function '_lookup_variable':
cppsetup.c:164: warning: implicit declaration of function 'strncpy'
cppsetup.c:164: warning: incompatible implicit declaration of built-in function 'strncpy'
cppsetup.c:159: warning: unused variable 'pd'
cppsetup.c: In function '_my_eval_variable':
cppsetup.c:199: warning: implicit declaration of function 'strlen'
cppsetup.c:199: warning: incompatible implicit declaration of built-in function 'strlen'
dmake: Error code 1, while making '../unxlngi6.pro/obj/cppsetup.obj'
---* tg_merge.mk *---
ERROR: Error 65280 occurred while making /home/haawda/abs/ooo-build/src/ooo-build-2.4.1.9/build/ooh680-m17/soltools/mkdepend
make: *** [stamp/build] Fehler 1
==> FEHLER: Build fehlgeschlagen.
Breche ab ...
Process makepkg exited abnormally with code 2
So the build system is complaining about the C-library. I think I give up.
Offline
Hmm, I got quite far with it, but had to break up due to going to bed (and not wanting the PC to run the whole night).
I think I might restart it later.
Have you installed all the normal OO deps and makedeps?
Offline
I do not think so. OO is not even installed.
Offline
well, I think that's the least you need, because go-oo is basically OO + some more features.
Offline
I was adding the dependencies of the stable version of OO to the PKGBUILD, but the above given error message remains. I cannot imagine why it is trying to build a .obj file (isn't that a windows library format?) using dmake.
Offline
Any progress on this? When I execute makepkg (OOO is installed), it aborts showing
checking whether to add custom build version... yes, Build 2.4.1.9
checking whether to build with Java support... yes
configure: error: /usr//bin/java not found set with_jdk_home
make: *** [stamp/build] Error 1
Yet I have to admit that I didn't do any inquiry on this error so far.
Offline
Pages: 1