LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-22-2006, 10:10 AM   #16
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100

This is because i use the program named checkinstall.
Checkinstall do the same as make install, plus it creates a package (.tgz, .deb or .rpm) and put it in your packages database.
http://asic-linux.com.mx/~izto/checkinstall/
 
Old 02-22-2006, 12:31 PM   #17
z9_87
Member
 
Registered: Dec 2004
Location: Urbana, IL
Distribution: Ubuntu 6.10
Posts: 118

Rep: Reputation: 15
yeah figured that out after I posted, but now I get an error of some sore, and it removes all the output before it, so I can't do much tracking down:

Code:
error: line 4: Unknown tag: 7.0.4
Building target platforms: i386
Building for target i386

/root/tmp/ZMkboJRLAmSkRcbOeMfK/rpmbuild.log lines 1-3/3 (END)
 
Old 02-22-2006, 02:40 PM   #18
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
---deleted---

Last edited by Linux.tar.gz; 02-22-2006 at 09:19 PM.
 
Old 02-22-2006, 05:04 PM   #19
z9_87
Member
 
Registered: Dec 2004
Location: Urbana, IL
Distribution: Ubuntu 6.10
Posts: 118

Rep: Reputation: 15
yeah, I did install checkinstall:
urpmi checkinstall
The package(s) are already installed

That's the error I get after installing check install and running the script.

Just thought of this, if checkinstall makes rpms then why don't we make an rpm package for this whole thing so other people can easily do this?

Last edited by z9_87; 02-22-2006 at 05:12 PM.
 
Old 02-22-2006, 09:34 PM   #20
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
Oops! I though my first answer wasn't saved!

Yes this could be nice. But we have to get it working first!
I found an interesting thread here: http://archives.mandrivalinux.com/co...2/msg01446.php
 
Old 02-22-2006, 10:10 PM   #21
z9_87
Member
 
Registered: Dec 2004
Location: Urbana, IL
Distribution: Ubuntu 6.10
Posts: 118

Rep: Reputation: 15
I also found an interesting thread on it, though I can't find it anymore. Basically it had another script that seems like it goes about this totally diferently. Here's the script:


Code:
#!/bin/sh

# Note that compiz window decorations for gnome and various other gubbins need
# certain development RPMS on you system.
#
# The configure often contines and just disables support for the thing you
# actually want and carries on without you knowing.
#
# Amoung others, make sure the following work for you:
#
# pkg-config --exists --print-errors "gtk+-2.0 >= 2.8.0 gconf-2.0 libwnck-1.0 pangocairo gnome-window-settings-2.0 gnome-desktop-2.0"
#  It should not produce any output if all is well.
#

PATCHPWD=$PWD

if [ `uname -m` = "x86-64" ]; then
MESAARCH=x86-64
else
MESAARCH=x86
fi

export SRCDIR=$HOME/xgl
export PREFIX=$SRCDIR/prefix

export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"
export ACLOCAL="aclocal -I $PREFIX/share/aclocal"
export PATH=$PREFIX/bin:$PATH
export LD_LIBRARY_PATH=$PREFIX/lib

[ -d $SRCDIR ] || mkdir -p $SRCDIR
[ -d $PREFIX/share/aclocal ] || mkdir -p $PREFIX/share/aclocal



pushd $SRCDIR
[ -d glitz ] || cvs -d :pserver:anoncvs@anoncvs.freedesktop.org:/cvs/cairo co glitz
[ -d cairo ] || cvs -d :pserver:anoncvs@anoncvs.freedesktop.org:/cvs/cairo co cairo
[ -d Mesa ] || cvs -z3 -d:pserver:anonymous@anoncvs.freedesktop.org:/cvs/mesa co Mesa
[ -d drm ] || cvs -d :pserver:anoncvs@anoncvs.freedesktop.org:/cvs/dri co drm
[ -d xorg ] || mkdir xorg
pushd xorg
if [ ! -d app/compiz ]; then
       cvs -z3 -d :pserver:anoncvs@anoncvs.freedesktop.org:/cvs/xorg co app data doc driver font lib proto util
       patch -p1 -b -z .orig < $PATCHPWD/xorg.patch
fi
popd
if [ ! -d xgl ]; then 
	cvs -d :pserver:anoncvs@anoncvs.freedesktop.org:/cvs/xorg co -r xgl-0-0-1 -d xgl xserver/xorg
	pushd xgl
	patch -p0 -b -z .orig < $PATCHPWD/xgl.patch 
	popd
fi

# Glitz CVS
pushd glitz
[ -f Makefile ] || ./autogen.sh --prefix=$PREFIX
make && make install
popd

# cairo CVS
pushd cairo
[ -f Makefile ] || ./autogen.sh --prefix=$PREFIX --enable-glitz
make && make install
popd

# DRM CVS
pushd drm
[ -f Makefile ] || ./autogen.sh --prefix=$PREFIX
make && make install
popd


# Xorg
pushd xorg

util/modular/build.sh -l Mesa -n -D $PREFIX

[ -r $PREFIX/lib/X11/fonts ] || ln -s /usr/X11R6/lib/X11/fonts $PREFIX/lib/X11/fonts

# Compiz
pushd app/compiz
[ -f Makefile ] || ./autogen.sh --prefix=$PREFIX
make && make install
popd

popd

pushd Mesa

sed -i 's,lib64,lib,g' configs/linux-dri-x86-64

make linux-dri-$MESAARCH
make install DESTDIR=$PREFIX
popd

# Xgl:
pushd xgl

if [ ! -f Makefile ]; then
	./autogen.sh --prefix=$PREFIX --enable-xgl --enable-xglx --disable-xvfb --disable-xnest --disable-xprint --enable-xkb --disable-kdriveserver --with-mesa-source=$SRCDIR/Mesa
fi

make && make install
popd

popd


# Assuming you have the nvidia PLF drivers, Xgl will just run(tm) as
# the lib path will be fine:
# $PREFIX/bin/Xgl -ac -accel glx:pbuffer -accel xv:fbo :0

# Once running (PS, try adding it to your /etc/X11/gdm/gdm.conf
# and replace the current command= entry under [server-Standard]
# but add as follows:
# command=$PREFIX/bin/Xgl -audit 0 -br -accel glx:pbuffer -accel xv:fbo
#

# To run compiz you need to set the LD_LIBRARY_PATH to use MESA directly
#   export LD_LIBRARY_PATH=$PREFIX/lib
#   $PREFIX/bin/compiz --replace gconf
#   $PREFIX/bin/gnome-window-decorator
#
although I got this error with it:

Quote:
make[4]: *** [slang_assemble_assignment.lo] Error 1
make[4]: Leaving directory `/root/xgl/xgl/GL/mesa/shader/slang'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/xgl/xgl/GL/mesa/shader'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/xgl/xgl/GL/mesa'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/xgl/xgl/GL'
make: *** [all-recursive] Error 1

Last edited by z9_87; 02-22-2006 at 10:12 PM.
 
Old 02-23-2006, 08:52 AM   #22
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
You have to identify the miscompiling program. It seems to be xgl, which is a good point because it's the end of the procedure!!

For my part i will compile cairo too, i identified some mistake in my initial big script and i added compiz (compiles fine). So i'll recompile all from scratch.
 
Old 02-27-2006, 10:45 AM   #23
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
Is there anybody out there?
Did someone has succeeded, whatever the distro? The point is:

-Xgl run on top of modular X11 7.
-On Slackware current, only 6.9 (same as 7 but non-modular) is available, so we have to compile xorg plus xgl dependancies.
-All compile BUT xgl.

and a question:
-Did nvidia users have to compile mesa and dri modules?
 
Old 02-27-2006, 02:45 PM   #24
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
This is where i'm stuck now. This is when i compile xgl!

s_arbshader.c:35:27: slang_utility.h: No such file or directory
s_arbshader.c:36:24: slang_link.h: No such file or directory
s_arbshader.c: In function `_swrast_exec_arbshader':
s_arbshader.c:57: error: `SLANG_FRAGMENT_FIXED_FRAGCOORD' undeclared (first use in this function)
s_arbshader.c:57: error: (Each undeclared identifier is reported only once
s_arbshader.c:57: error: for each function it appears in.)
s_arbshader.c:63: error: `SLANG_FRAGMENT_FIXED_COLOR' undeclared (first use in this function)
s_arbshader.c:71: error: `SLANG_FRAGMENT_FIXED_TEXCOORD' undeclared (first use in this function)
s_arbshader.c:85: error: `SLANG_FRAGMENT_FIXED_FRAGCOLOR' undeclared (first use in this function)
make[3]: *** [s_arbshader.lo] Erreur 1
make[3]: Leaving directory `/home/def/buildXGL/xgl/GL/mesa/swrast'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/home/def/buildXGL/xgl/GL/mesa'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/def/buildXGL/xgl/GL'
make: *** [all-recursive] Erreur 1
 
Old 03-01-2006, 11:05 PM   #25
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
Some progress in here.
I solved the slang problem with:
cp /home/me/buildXGL/xgl/GL/mesa/shader/slang/slang_* /home/me/buildXGL/xgl/GL/mesa/swrast/

Now make and checkinstall succeed.

Then i had to do:

ln -s /usr/X11R6/lib/X11/rgb.txt /opt/fdo/share/X11/

cd /opt/fdo/lib/X11
ln -s /usr/lib/X11/fonts fonts

I can now run Xgl with:
/opt/fdo/bin/Xgl :0 -ac -accel xv -accel glxbuffer&
in pure console.

Compiz don't work.
Doom3 don't run. Quake3 works with some graphical glitches. Foobillard works fine.
Still learning.

Some good links:
http://forums.gentoo.org/viewtopic-t...cac4d3a55701b7
http://forums.gentoo.org/viewtopic-t...c55178eb31e691
http://ubuntuforums.org/forumdisplay.php?f=111
http://ubuntuforums.org/showthread.php?t=132406

Last edited by Linux.tar.gz; 03-01-2006 at 11:09 PM.
 
Old 03-02-2006, 08:44 PM   #26
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
I have the famous:
compiz: GLX_EXT_texture_from_pixmap is missing
But export LD_LIBRARY_PATH=/opt/fdo/lib/ don't do the trick.
I think Mesa compile didn't generated libGL.so, but only libGLU.so and libGLw.so

Also, LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ don't mean anything to me because it seems to be gentoo-specific.

I added xglcompmgr to the stuff and i have the same kind of problem:
glxcompmgr: GLX_MESA_render_texture is missing

I'm surprised to have no answer from LQ people, because i saw so much talking on other forums...
Someone seems to have succeeded under Slackware, but he didn't posted how!

Last edited by Linux.tar.gz; 03-02-2006 at 09:22 PM.
 
Old 03-02-2006, 11:44 PM   #27
z9_87
Member
 
Registered: Dec 2004
Location: Urbana, IL
Distribution: Ubuntu 6.10
Posts: 118

Rep: Reputation: 15
I've been working at it, and reading what you're posting but I'm still stuck where I was above.
 
Old 03-06-2006, 04:54 AM   #28
tanaselia
LQ Newbie
 
Registered: Mar 2005
Location: Romania
Distribution: OpenBSD
Posts: 19

Rep: Reputation: 0
Quote:
Originally Posted by Linux.tar.gz
I'm surprised to have no answer from LQ people, because i saw so much talking on other forums...
Someone seems to have succeeded under Slackware, but he didn't posted how!
Is there a hope if I want to use xgl with Slackware, ATI and KDE (3.5.2)?
 
Old 03-06-2006, 01:34 PM   #29
z9_87
Member
 
Registered: Dec 2004
Location: Urbana, IL
Distribution: Ubuntu 6.10
Posts: 118

Rep: Reputation: 15
Well there's hope for eveyone, I guess. But I know a guy who got it working on slack, he put up a screenshot at http://www.dslreports.com/forum/remark,15586670
 
Old 03-06-2006, 03:03 PM   #30
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
Yes and the last step is near. I wrote a better version of the script and i'm stuck at post #26.
C'mon Slackers! Help us!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Compiling my own xmame.xgl, but no graphics. Linux.tar.gz Linux - Games 1 11-04-2010 10:46 AM
LXer: Novell releasing Xgl to open-source community LXer Syndicated Linux News 1 02-08-2006 10:23 AM
LXer: Novell seeks to boost Linux graphics LXer Syndicated Linux News 0 02-07-2006 12:46 PM
How to set up Twinview with Nvidia graphics card? wadeall Ubuntu 1 11-29-2005 06:17 PM
compaq presario2500 novell suse 9 graphics & acpi mteren Linux - Laptop and Netbook 0 01-31-2005 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration