Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#3487 closed defect (fixed)

MesaLib-8.0.4 does not build with xdemos patch if MesaLib is not already installed

Reported by: Wayne Blaszczyk Owned by: Armin K
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

MesaLib-8.0.4 does not build with the MesaLib-8.0.4-add_xdemos-2 patch if MesaLib is not already installed. The following error occurs:

gcc -I../include -L../lib -lGL -lX11   -lm -o glxinfo glxinfo.c
/usr/bin/ld: warning: libglapi.so.0, needed by ../lib/libGL.so, not found (try using -rpath or -rpath-link)
../lib/libGL.so: undefined reference to `_glapi_get_proc_address'
../lib/libGL.so: undefined reference to `_glapi_get_dispatch_table_size'
../lib/libGL.so: undefined reference to `_glthread_GetID'
../lib/libGL.so: undefined reference to `_glapi_check_multithread'
../lib/libGL.so: undefined reference to `_glapi_set_context'
../lib/libGL.so: undefined reference to `_glapi_set_dispatch'
../lib/libGL.so: undefined reference to `_glapi_tls_Dispatch'
collect2: ld returned 1 exit status
make[1]: *** [glxinfo] Error 1
make[1]: Leaving directory `/sources/Mesa-8.0.4/xdemos'
make: *** [default] Error 1

It builds and installs fine without the patch, then a subsequent build with the xdemos patch builds fine.

Change History (7)

comment:1 by Armin K, 12 years ago

Owner: changed from blfs-book@… to Armin K
Status: newassigned

I guess it's a good time to refresh the patch.

comment:2 by bdubbs@…, 12 years ago

Resolution: fixed
Status: assignedclosed

Removed the python dependency at revision 10493.

comment:3 by Armin K, 12 years ago

Resolution: fixed
Status: closedreopened

Ahem ...

comment:4 by Armin K, 12 years ago

Status: reopenednew

comment:5 by Armin K, 12 years ago

Status: newassigned

comment:6 by Armin K, 12 years ago

Resolution: fixed
Status: assignedclosed

Changed MesaLib patch to link against libglapi and made it not run install -c on the DESTDIR/usr/bin if the directory is already present. Also updated glxinfo and glxgears source files from upstream git.

Fixed in r10510

comment:7 by bdubbs@…, 11 years ago

Milestone: current

Milestone current deleted

Note: See TracTickets for help on using tickets.