You are not logged in.
Please, can anybody look in to it. I did try, but I'm more user than a coder. Right now it complaints about some readline error. Git name in PKGBUILD is pspp, I think it should be master, not sure. Look in here http://git.savannah.gnu.org/gitweb/?p=pspp.git
Big thanks.
Offline
nobody?
Offline
I was able to build it manually ( 0.7.5 ), so I think it should go through updated PKBUILD as well.
mkdir pspp_build
cd pspp_build
git clone git://git.savannah.gnu.org/pspp.git
git clone git://git.savannah.gnu.org/gnulib.git
cd pspp
make -f Smake
../configure --prefix=/usr --sysconfdir=/etc --bindir=/bin
--with-gui-tools
make
make check
sudo make install
Non working PKGBUILD from AUR:
# Edited for git by: ilikenwf <parwok@gmail.com>
# Maintainer: ilikenwf/Matt Parnell <parwok@gmail.com>
# Contributor: joyfulgirl <joyfulgirl (at) archlinux.us>
pkgname=pspp-git
pkgver=20091027
pkgrel=1
pkgdesc="Statistical analysis program"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/pspp/"
license=('GPL3')
depends=('gsl' 'plotutils' 'pkgconfig' 'texinfo')
makedepends=('perl' 'gperf')
optdepends=('plotutils: only if you checkout and build from "output" branch'
'postgresql-libs: PG database support'
'zlib: GNUmeric support'
'libxml2: GNUMERIC support')
source=()
md5sums=()
install=pspp.install
_gitroot="git://git.sv.gnu.org/pspp.git"
_gitname="pspp"
build() {
export CFLAGS="$CFLAGS -I/opt/mesa-xgl-cvs/include"
cd ${srcdir}
msg "Connecting to GIT server...."
if [ -d ${srcdir}/$_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
if [ -d ${srcdir}/gnulib ] ; then
cd ${srcdir}/gnulib && git pull origin
msg "Gnulib updated."
else
git clone git://git.sv.gnu.org/gnulib.git
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf ${srcdir}/$_gitname-build
cp -a ${srcdir}/$_gitname ${srcdir}/$_gitname-build
cd ${srcdir}/$_gitname-build
aclocal || return 1
make -f Smake || return 1
autoconf || return 1
automake || return 1
./configure --prefix=/usr --sysconfdir=/etc || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
rm -f ${pkgdir}/usr/share/info/dir
if [[ -x $(which emacs) ]]; then
emacs -Q --batch --eval '(byte-compile-file "pspp-mode.el")'
install -d ${pkgdir}/usr/share/emacs/site-lisp/pspp
install -m 644 -t ${pkgdir}/usr/share/emacs/site-lisp/pspp \
pspp-mode.el{,c}
fi
}
I can see some difference in ./configure part, but I got following errors when I've tried to install it through PKGBUILD:
src/ui/terminal/.libs/libui.a(src_ui_terminal_libui_la-read-line.o): In function `dont_complete':
read-line.c:(.text+0x20): undefined reference to `rl_attempted_completion_over'
src/ui/terminal/.libs/libui.a(src_ui_terminal_libui_la-read-line.o): In function `complete_command_name':
read-line.c:(.text+0xca): undefined reference to `rl_completion_matches'
read-line.c:(.text+0xda): undefined reference to `rl_attempted_completion_over'
src/ui/terminal/.libs/libui.a(src_ui_terminal_libui_la-read-line.o): In function `readln_initialize':
read-line.c:(.text+0x154): undefined reference to `rl_basic_word_break_characters'
read-line.c:(.text+0x168): undefined reference to `using_history'
read-line.c:(.text+0x174): undefined reference to `stifle_history'
read-line.c:(.text+0x1b6): undefined reference to `read_history'
src/ui/terminal/.libs/libui.a(src_ui_terminal_libui_la-read-line.o): In function `readln_read':
read-line.c:(.text+0x21a): undefined reference to `rl_attempted_completion_function'
read-line.c:(.text+0x224): undefined reference to `readline'
read-line.c:(.text+0x2d1): undefined reference to `add_history'
src/ui/terminal/.libs/libui.a(src_ui_terminal_libui_la-read-line.o): In function `readln_uninitialize':
read-line.c:(.text+0x341): undefined reference to `clear_history'
read-line.c:(.text+0x36a): undefined reference to `write_history'
collect2: ld returned 1 exit status
make[2]: *** [src/ui/terminal/pspp] Error 1
make[2]: Leaving directory `/var/abs/local/yaourtbuild/pspp-git/src/pspp-build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/yaourtbuild/pspp-git/src/pspp-build'
make: *** [all] Error 2
Any suggestions?
Last edited by gofree (2010-05-23 11:14:10)
Offline
still the same error anybody able and willing to help? thanks a lot
Offline
i owe you one, thanks
Offline
Somebody might have an idea how to deal with this...
Don't forget to
- add "gl/Makefile" to AC_CONFIG_FILES in ./configure.ac,
- mention "gl" in SUBDIRS in Makefile.am,
- mention "-I gl/m4" in ACLOCAL_AMFLAGS in Makefile.am,
- invoke gl_EARLY in ./configure.ac, right after AC_PROG_CC,
- invoke gl_INIT in ./configure.ac.
libtoolize --force --automake
make -f Smake Makefile.in configure
make[1]: Entering directory `/home/gofree/Downloads/pspp-git/src/pspp-build'
autoheader
configure.ac:258: warning: gl_INLINE is m4_require'd but not m4_defun'd
acinclude.m4:237: PSPP_GSL_NEEDS_FGNU89_INLINE is expanded from...
configure.ac:258: the top level
automake --add-missing --copy --no-force --include-deps
configure.ac:258: warning: gl_INLINE is m4_require'd but not m4_defun'd
acinclude.m4:237: PSPP_GSL_NEEDS_FGNU89_INLINE is expanded from...
configure.ac:258: the top level
configure.ac:15: installing `build-aux/compile'
configure.ac:16: installing `build-aux/config.guess'
configure.ac:16: installing `build-aux/config.sub'
configure.ac:9: installing `build-aux/install-sh'
configure.ac:9: installing `build-aux/missing'
gl/Makefile.am:67: GL_GENERATE_ALLOCA_H does not appear in AM_CONDITIONAL
gl/Makefile.am:115: GL_GENERATE_BYTESWAP_H does not appear in AM_CONDITIONAL
gl/Makefile.am:317: GL_GENERATE_ERRNO_H does not appear in AM_CONDITIONAL
gl/Makefile.am:426: GL_GENERATE_FLOAT_H does not appear in AM_CONDITIONAL
gl/Makefile.am:1385: RELOCATABLE_VIA_WRAPPER does not appear in AM_CONDITIONAL
gl/Makefile.am:1683: GL_GENERATE_STDALIGN_H does not appear in AM_CONDITIONAL
gl/Makefile.am:1706: GL_GENERATE_STDARG_H does not appear in AM_CONDITIONAL
gl/Makefile.am:1734: GL_GENERATE_STDBOOL_H does not appear in AM_CONDITIONAL
gl/Makefile.am:1757: GL_GENERATE_STDDEF_H does not appear in AM_CONDITIONAL
gl/Makefile.am:1787: GL_GENERATE_STDINT_H does not appear in AM_CONDITIONAL
gl/Makefile.am:2506: LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_PRINT does not appear in AM_CONDITIONAL
gl/Makefile.am:2516: LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_CONTINUE does not appear in AM_CONDITIONAL
gl/Makefile.am:2526: LIBUNISTRING_COMPILE_UNICTYPE_PROPERTY_ID_START does not appear in AM_CONDITIONAL
gl/Makefile.am:2552: LIBUNISTRING_COMPILE_UNIGBRK_UC_GBRK_PROP does not appear in AM_CONDITIONAL
gl/Makefile.am:2562: LIBUNISTRING_COMPILE_UNIGBRK_UC_IS_GRAPHEME_BREAK does not appear in AM_CONDITIONAL
gl/Makefile.am:2594: LIBUNISTRING_COMPILE_UNILBRK_U8_POSSIBLE_LINEBREAKS does not appear in AM_CONDITIONAL
gl/Makefile.am:2768: LIBUNISTRING_COMPILE_UNISTR_U8_CHECK does not appear in AM_CONDITIONAL
gl/Makefile.am:2776: LIBUNISTRING_COMPILE_UNISTR_U8_CPY does not appear in AM_CONDITIONAL
gl/Makefile.am:2786: LIBUNISTRING_COMPILE_UNISTR_U8_MBLEN does not appear in AM_CONDITIONAL
gl/Makefile.am:2794: LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC does not appear in AM_CONDITIONAL
gl/Makefile.am:2802: LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE does not appear in AM_CONDITIONAL
gl/Makefile.am:2810: LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR does not appear in AM_CONDITIONAL
gl/Makefile.am:2818: LIBUNISTRING_COMPILE_UNISTR_U8_STRLEN does not appear in AM_CONDITIONAL
gl/Makefile.am:2826: LIBUNISTRING_COMPILE_UNISTR_U8_STRMBTOUC does not appear in AM_CONDITIONAL
gl/Makefile.am:2834: LIBUNISTRING_COMPILE_UNISTR_U8_STRNCAT does not appear in AM_CONDITIONAL
gl/Makefile.am:2842: LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB does not appear in AM_CONDITIONAL
gl/Makefile.am:2882: LIBUNISTRING_COMPILE_UNIWIDTH_U8_STRWIDTH does not appear in AM_CONDITIONAL
gl/Makefile.am:2890: LIBUNISTRING_COMPILE_UNIWIDTH_U8_WIDTH does not appear in AM_CONDITIONAL
gl/Makefile.am:2898: LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH does not appear in AM_CONDITIONAL
gl/Makefile.am: installing `build-aux/depcomp'
src/ui/terminal/automake.mk:33: RELOCATABLE_VIA_LD does not appear in AM_CONDITIONAL
Makefile.am:66: `src/automake.mk' included from here
src/automake.mk:39: `src/ui/automake.mk' included from here
src/ui/automake.mk:3: `src/ui/terminal/automake.mk' included from here
src/ui/gui/automake.mk:61: RELOCATABLE_VIA_LD does not appear in AM_CONDITIONAL
Makefile.am:66: `src/automake.mk' included from here
src/automake.mk:39: `src/ui/automake.mk' included from here
src/ui/automake.mk:4: `src/ui/gui/automake.mk' included from here
doc/automake.mk:3: installing `build-aux/mdate-sh'
Makefile.am:64: `doc/automake.mk' included from here
make[1]: *** [Makefile.in] Error 1
make[1]: Leaving directory `/home/gofree/Downloads/pspp-git/src/pspp-build'
make: *** [all] Error 2
==> CHYBA: Chyba nastala v build().
Prebieha rušenie...
[gofree@gofree pspp-git]$
Offline
Hi all,
will pay around 10€ is anybody willing to update the package and expain what was wrong eg. how to deal with it
thanks
Offline
Test this:
PKGBUILD:
# Contributor: Doug Newgard <scimmia22 at outlook dot com>
# Edited for git by: ilikenwf <parwok@gmail.com>
# Contributor: ilikenwf/Matt Parnell <parwok@gmail.com>
# Contributor: joyfulgirl <joyfulgirl (at) archlinux.us>
pkgname=pspp-git
pkgver=20130321
pkgrel=1
pkgdesc="Statistical analysis program"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/pspp/"
license=('GPL3')
depends=('gsl' 'gtksourceview2' 'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('perl' 'gperf' 'git')
install=pspp.install
options=('!libtool')
_gitroot="git://git.sv.gnu.org/pspp.git"
_gitname="pspp"
_gitroot2="git://git.sv.gnu.org/gnulib.git"
_gitname2="gnulib"
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [[ -d "$_gitname" ]]; then
cd "$_gitname" && git pull origin
msg "The local files are updated."
else
git clone "$_gitroot" "$_gitname"
fi
# Please check README.git to see which commit to checkout for gnulib
cd "$srcdir"
if [[ -d "$_gitname2" ]]; then
cd "$_gitname2" && git checkout master && git pull origin
git checkout f022473fdaf724d84817c4003120b9a38fbf884b
msg "Gnulib updated."
else
git clone "$_gitroot2" "$_gitname2"
cd "$_gitname2" && git checkout f022473fdaf724d84817c4003120b9a38fbf884b
fi
msg "GIT checkout done or server timeout"
msg "Starting build..."
rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
make -f Smake
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--without-libreadline-prefix
make
}
package() {
cd "$srcdir/$_gitname-build"
make DESTDIR="$pkgdir" install
rm -f "$pkgdir/usr/share/info/dir"
if [[ -x $(which emacs) ]]; then
emacs -Q --batch --eval '(byte-compile-file "pspp-mode.el")'
install -d ${pkgdir}/usr/share/emacs/site-lisp/pspp
install -m 644 -t ${pkgdir}/usr/share/emacs/site-lisp/pspp \
pspp-mode.el{,c}
fi
}
pspp.install:
post_install() {
update-mime-database usr/share/mime > /dev/null
update-desktop-database -q
gtk-update-icon-cache -q /usr/share/icons/hicolor
cd /usr/share/info
install-info pspp.info.gz dir
install-info pspp-dev.info dir
}
post_upgrade() {
post_install
}
post_remove() {
update-mime-database usr/share/mime > /dev/null
update-desktop-database -q
gtk-update-icon-cache -q /usr/share/icons/hicolor
cd /usr/share/info
install-info --remove pspp.info.gz dir
install-info --remove pspp-dev.info dir
}
I didn't touch any of the /usr/share/info stuff or the emacs stuff. If anyone thinks they need changed, let me know.
Offline
works , I did only change for git checkout f022473fdaf724d84817c4003120b9a38fbf884b to git checkout f022473 on gnulib section as suggested here, unfortunatelly Im not very familliar with this stuff
http://soumalyaray.blogspot.sk/2012/12/ … m-git.html
thanks a lot, send me your paypal name , its on the go
Offline
Alright, if don't see any problems, I'll upload it to the AUR. On specifying the Git commit, f022473 does the same thing as f022473fdaf724d84817c4003120b9a38fbf884b assuming there's no other commit that starts with f022473. It's a very long shot, but it is possible. Since this is a script and not something you have to type out, I figure it's just as easy to specify the full hash.
Don't worry about paypal; I didn't do it for the money, I did it because I was bored.
I'll put it on my list of packages to update for makepkg 4.1 in a couple of weeks unless someone picks it up before then.
Offline
The version I uploaded to the AUR is slightly different than the one posted here. I added a bit to pull the commit hash from the file, so you don't have to do anything manually anymore.
Offline
again thank you, I guess now I can do my stats for thesis on Arch
Solved
Offline