[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building XFree 4.3



On Sun, Nov 16, 2003 at 02:23:11PM +0000, . . wrote:
> Hi everyone I'm tring to build Xfree 4.3 on my debian system because I need 
> a patch to the siliconmotion driver that has only been committed in 4.3.99.
> 
> I'm trying two separate paths, and I'm stuck in either.

If you send us a diff, we can include it in the next release. Why do you
need this patch?

> First I'm trying to build a deb binary package from xfree86_4.3.0-0pre1v4 
> source package.
> After
> >dpkg-source -x xfree86_4.3.0-0pre1v4.dsc
> >cd xfree86_4.3.0
> trying to extract sources with
> >debian/rules source.make
> make: *** No rule to make target `source.make'.  Stop.
> 
> How do I extract the sources to apply the siliconmotion patch?

Try 'debian/rules setup', not source.make; this changed a couple of
releases ago.

> As an alternative path i'm trying to build  XFree86-4.3.99.15 from 
> xfree.org sources but I'm stuck on  the following error:
> 
> gcc -m32 -o glxinfo -O2 -fno-strength-reduce -fno-strict-aliasing -ansi 
> -pedantic -Wall -Wpointer-arith -Wstrict-prototypes                     
> -Wmissing-prototypes -Wmissing-declarations                     
> -Wredundant-decls -Wnested-externs -Wundef     -L../../exports/lib   
> glxinfo.o -lGLU -lGL -lXext -lX11  -lpthread -lm   -Wl,-rpath,/usr/X11R6/lib
> /usr/bin/ld: warning: libXxf86vm.so.1, needed by 
> ../../exports/lib/libGL.so, not found (try using -rpath or -rpath-link)
> ../../exports/lib/libGL.so: undefined reference to `XF86VidModeQueryVersion'
> ../../exports/lib/libGL.so: undefined reference to `XF86VidModeGetModeLine'
> collect2: ld returned 1 exit status
> make[4]: *** [glxinfo] Error 1
> 
> Isn't xfree86 4.3 supposed to work "out of the box" on a debian build 
> system?

Yes, and it does ... but you're building 4.3.99.15, and you're not using
our packages; you're really on your own here.

> Also is it really unaivoidable that every single time "make World" cleans 
> everything and starts building from scratch?

I think a straight 'make' will rebuild only what's needed, and that you
only need make World the first time.

-- 
Daniel Stone                                                <daniels@debian.org>
Debian X Strike Force:                    http://people.debian.org/~branden/xsf/

Attachment: pgpuNK4A9YqtM.pgp
Description: PGP signature


Reply to: