You are not logged in.
Offline
Well, I gave it a try. Here is the pkgbuild:
#Contributor: Jason Taylor <jftaylor21@gmail.com>
pkgname=truevision
pkgver=0.5.5
pkgrel=1
pkgdesc="A 3D modeler for Gnome."
url="http://gnomefiles.org/app.php?soft_id=699"
license=""
depends=('libgnomeui' 'perlxml' 'gtkglext')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('98a2ff999253bb5b31bb73f075ca6097')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
I realize I may be missing dependencies in the pkgbuild right now, but I haven't been able to build. I get this error:
checking for gtk_gl_init in -lgtkglext-x11-1.0... no
configure: error: Missing gtkglext library
make: *** No targets specified and no makefile found. Stop.
I have gtkglext installed. I have logged out and back in, but it still can't find it for some reason. I have checked and the function is in gtkglext's header file.
Offline
Whoah. If you can get that to build, see if it can be accepted into the Extra repo!
Offline
it seams to be a problem with the gtkglext pkg.....
when you unpack it manually and have a look there are two folders gtk and gdk in usr include , these are inside the gtkglext directory, when you look what pacman has installed these directoires are not where they where......
Offline
I'm not sure I follow you. When I installed gtkglext, it installed the include folders to:
/usr/include/gtkglext-1.0/gtk and /usr/include/gtkglext-1.0/gdk
Are you saying that they should be in:
/usr/include/gtk and /usr/include/gdk
Offline
nah when I reinstalled they where there, I rolled one by hand to double check but same reult, however normally if you have a lib installed and ./configure misses it you can touch the file and rerun configure...
I tried this but gives me permission denied as usr......
Offline
ooh lookie what namcap says... this is the official pkg btw....
[mike@Atlantis ~]$ namcap gtkglext-1.0.6-3.pkg.tar.gz
gtkglext E: Dependency detected and not included (mesa) from files ['usr/lib/libgdkglext-x11-1.0.so.0.2.4', 'usr/lib/libgdkglext-x11-1.0.so.0', 'usr/lib/libgtkglext-x11-1.0.so', 'usr/lib/libgtkglext-x11-1.0.so.0.2.4', 'usr/lib/libgtkglext-x11-1.0.so.0', 'usr/lib/libgdkglext-x11-1.0.so']
gtkglext W: Library usr/lib/libGLcore.so.1 has no package associated
gtkglext W: Library usr/lib/tls/libnvidia-tls.so.1 has no package associated
gtkglext W: Dependency included but already satisfied (pango)
[mike@Atlantis ~]$
that may be why.....
Offline
Hmm...
Well I'm not sure, but mesa shouldn't be needed if you use opengl. I have an nvidia card so this shouldn't be the problem for me building truevision. As for pango, including that as a dependency is redundant. Maybe I should post a bug report about that.
As for the "has no package associated" error messages, I am not really sure what that means. :oops:
Offline
I also have an nvidia card.......
but this is the info returned by namcap about what is wrong with the pkg
btw I have mesa installed as was listed(but not needed) as a dep for some other pkg....
so it shouldnt by an issue, do you know of any other pkg that has it as a dependancy, can try then and see if it get detected...
but I think it is to do with the pkg
Offline
Well I think that the configure script tests to see if the library is there by compiling this program:
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char gtk_gl_init ();
int
main ()
{
gtk_gl_init ();
;
return 0;
}
I have tryed to compile it myself but I get linker errors.
gcc temp.c `pkg-config --cflags --libs gtkglext-1.0`
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_cache_load'
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_cache_unload'
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../libgdkglext-x11-1.0.so: undefined reference to `pango_x_find_first_subfont'
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_subfont_xlfd'
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_map_get_font_cache'
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_map_for_display'
collect2: ld returned 1 exit status
Looks like maybe something with pango? I don't know if I am even right about how configure even does this testing. All I did was see the code in the configure script around the part where it is testing for gtkglext and remember that it was having trouble finding the gtk_gl_init function. So this is all speculation. :?
Offline
I love grep!
cd /var/lib/pacman
grep -r 'gtkglext' *
extra/celestia-1.3.2-3/depends:gtkglext
extra/glchess-0.8.6-1/depends:gtkglext
extra/gtkglext-1.0.6-3/desc:gtkglext
Offline
copied glchess pkg build to var abs local.... and
gcc ai.o ai_cecp.o board.o game.o main.o models.o network.o player.o pgn.o san.o scene.o ui.o ui_network_game.o ui_new_game.o ui_view.o xml.o -> glchess
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_cache_load'
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_cache_unload'
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../libgdkglext-x11-1.0.so: undefined reference to `pango_x_find_first_subfont'
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_subfont_xlfd'
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_map_get_font_cache'
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../libgdkglext-x11-1.0.so: undefined reference to `pango_x_font_map_for_display'
collect2: ld returned 1 exit status
Binary expects data files in '/usr/share/glchess/'
mv: cannot stat `src/glchess': No such file or directory
install: cannot stat `glchess': No such file or directory
==> Compressing man pages...
==> Stripping debugging symbols from libraries...
==> Stripping symbols from binaries...
==> Generating .PKGINFO file...
==> Generating .FILELIST file...
==> Compressing package...
==> Finished making: glchess (Sun Oct 16 00:42:43 BST 2005)
[mike@Atlantis local]$
broken pkg.......
Offline
Do you think it is something with gtkglext or pango? I will probably need to file a bug report about this.... Makes me wonder how they compiled glchess in the first place?
EDIT: I also tryed compiling glchess and got same errors.
EDIT: posted bug report here:
http://bugs.archlinux.org/index.php?do=details&id=3337
Offline
Hooray! Damir saved the day!
The gtkglext package has been fixed and now truevision compiles!
The updated pkgbuild can be found here:
http://aur.archlinux.org/packages.php?d … =1&ID=2437
Don't forget to vote for it!
Offline
The URL ought to be truevision.sourceforge.net. Just letting you know...
Offline
will fix
also found that the .desktop file gives wrong exec. you will have to enter truevision in the console for now. i will try to fix as soon as possible
Offline
Offline