You are not logged in.
PKGBUILD:
# Contributer: huma (Edited by: invie)
pkgname=tmate
pkgver=1.8.9
pkgrel=1
pkgdesc="Instant terminal sharing"
arch=('i686' 'x86_64')
license=('MIT')
url="http://tmate.io/"
makedepends=('cmake' 'libevent' 'ncurses' 'openssl' 'zlib')
md5sums=()
gitroot="https://github.com/nviennot/tmate.git"
gitname="tmate"
gitrev="604c43bfab"
build() {
cd ${srcdir}
if [[ -d ${gitname} ]] ; then
cd ${gitname}
git fetch -q
git reset -q --hard origin/master
git checkout -f -q ${gitrev}
else
git clone ${gitroot}
cd ${gitname}
git checkout -f -q ${gitrev}
fi
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd ${pkgname}
make DESTDIR=${pkgdir} install
}
The Compile-Time Errors I get:
libssh/build/src/libssh.a(gssapi.c.o): In function `ssh_gssapi_log_error':
gssapi.c:(.text+0x24): undefined reference to `gss_display_status'
libssh/build/src/libssh.a(gssapi.c.o): In function `ssh_gssapi_match.constprop.3':
gssapi.c:(.text+0x138): undefined reference to `gss_create_empty_oid_set'
gssapi.c:(.text+0x148): undefined reference to `gss_indicate_mechs'
gssapi.c:(.text+0x1e0): undefined reference to `GSS_C_NT_USER_NAME'
gssapi.c:(.text+0x1eb): undefined reference to `gss_import_name'
gssapi.c:(.text+0x261): undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'
gssapi.c:(.text+0x281): undefined reference to `gss_import_name'
gssapi.c:(.text+0x375): undefined reference to `gss_init_sec_context'
gssapi.c:(.text+0x39e): undefined reference to `gss_add_oid_set_member'
gssapi.c:(.text+0x3c8): undefined reference to `gss_delete_sec_context'
gssapi.c:(.text+0x429): undefined reference to `gss_create_empty_oid_set'
gssapi.c:(.text+0x439): undefined reference to `gss_add_oid_set_member'
gssapi.c:(.text+0x46c): undefined reference to `gss_acquire_cred'
gssapi.c:(.text+0x47d): undefined reference to `gss_release_oid_set'
gssapi.c:(.text+0x498): undefined reference to `gss_release_cred'
gssapi.c:(.text+0x4a8): undefined reference to `gss_add_oid_set_member'
libssh/build/src/libssh.a(gssapi.c.o): In function `ssh_packet_userauth_gssapi_response':
gssapi.c:(.text+0x99f): undefined reference to `gss_init_sec_context'
gssapi.c:(.text+0xa8c): undefined reference to `gss_create_empty_oid_set'
gssapi.c:(.text+0xa9a): undefined reference to `gss_add_oid_set_member'
gssapi.c:(.text+0xacf): undefined reference to `gss_acquire_cred'
gssapi.c:(.text+0xadd): undefined reference to `gss_release_oid_set'
libssh/build/src/libssh.a(gssapi.c.o): In function `ssh_packet_userauth_gssapi_token_client':
gssapi.c:(.text+0xc9c): undefined reference to `gss_init_sec_context'
gssapi.c:(.text+0xe8a): undefined reference to `gss_get_mic'
gssapi.c:(.text+0x1034): undefined reference to `gss_release_cred'
collect2: error: ld returned 1 exit status
Makefile:680: recipe for target 'tmate' failed
make: *** [tmate] Error 1
==> ERROR: A failure occurred in build().
Aborting...
I have no idea where to go from here, and what googling I have done, and searching of the forums, has given me nothing. It's the same error that's in the AUR comments, though. Is it a library error? Or is it some function being written before another one?
Last edited by Invie (2013-12-23 22:25:19)
Just living is not enough... one must have sunshine, freedom, and a little flower. ~Hans Christian Andersen
Offline
Changes:
- Altered the gitrev variable to match that of the most recent commit.
- Changed the Version Number
Result:
On my system, it builds fine. :DD
My fix to the AUR PKGBUILD:
# Contributor: huma (Edited by invie)
pkgname=tmate
pkgver='1.8.9'
pkgrel=1
pkgdesc="Instant terminal sharing"
arch=('i686' 'x86_64')
license=('MIT')
url="http://tmate.io/"
makedepends=('cmake' 'libevent' 'ncurses' 'openssl' 'zlib')
md5sums=
gitroot="https://github.com/nviennot/tmate.git"
gitname="tmate"
gitrev="dfe63e9e738"
build() {
cd ${srcdir}
if [[ -d ${gitname} ]] ; then
cd ${gitname}
git fetch -q
git reset -q --hard origin/master
git checkout -f -q ${gitrev}
else
git clone ${gitroot}
cd ${gitname}
git checkout -f -q ${gitrev}
fi
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd ${pkgname}
make DESTDIR=${pkgdir} install
}
Last edited by Invie (2013-12-23 22:27:44)
Just living is not enough... one must have sunshine, freedom, and a little flower. ~Hans Christian Andersen
Offline