You are not logged in.
i think they only have rpm packages
http://madlib.apache.org/download.html
Last edited by venky80 (2018-02-03 18:48:47)
Acer Aspire V5-573P Antergos KDE
Offline
But they do provide source code. Have you tried compiling that?
Offline
sorry getting into Arch again after years...would that be same as building a PKGBUILD?
Acer Aspire V5-573P Antergos KDE
Offline
Not quite. You need to create the PKGBUILD first before you can build with it.
Offline
@slithery and @x33a this might not be a good candidate for a first PKGBUILD it has at least the following issues:
Requires python to be python2.
Uses bundled components some even if supplied by the system which would result in a package with parts under up to five separate licences.
Fails to build due to missing boost headers either using the bundled boost which did not seem to be built in time or the system supplied boost.
Offline
hmm so this is a lost cause I am assuming Maybe that is why they only have rpm for centOS and Redhat
Acer Aspire V5-573P Antergos KDE
Offline
Not neccasrily a lost cuase but I suspect it will need input from either upstream or someone with familiarity of cmake.
This is the PKGBUILD I was working with, very much a work in progress. Sorry I did not preserve the makepkg logs
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Your Name <youremail@domain.com>
pkgname=madlib
pkgver=1.13
pkgrel=1
pkgdesc=""
arch=('x86_64')
url="http://madlib.apache.org"
license=('APACHE')
groups=()
depends=('postgresql' 'boost' 'python2')
makedepends=('cmake')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(https://www.apache.org/dist/madlib/1.13/apache-$pkgname-$pkgver-src.tar.gz{,.asc})
sha256sums=('e266b40b140ecf120aa73f9633f105cb6359e4e0228d2c1a1d7e5af53ad89a43'
'SKIP')
validpgpkeys=('BBEDA7B5F336D516B34ADE0CFC0662F257325522') #Edward Bartolo Espino (CODE SIGNING KEY) <espino@apache.org>
prepare() {
mkdir path
ln -s /usr/bin/python2 path/python
}
build() {
export PATH="$srcdir/path:$PATH"
cd "apache-$pkgname-$pkgver-src"
mkdir -p build
cd build
cmake ..
# ./configure
make VERBOSE=1
}
#check() {
# cd "$pkgname-$pkgver"
# make -k check
#}
package() {
cd "$pkgname-$pkgver"
# make DESTDIR="$pkgdir/" install
}
Offline