bugTransport Sample Protocol - Bugs: bug #19719, Error in generation of TSP 0.8.3

 
 

bug #19719: Error in generation of TSP 0.8.3

Submitted by:  None
Submitted on:  Fri 27 Apr 2007 07:49:12 AM UTC  
 
Category: Build SystemSeverity: 3 - Normal
Status: FixedPrivacy: Public
Assigned to: Frederik Deweerdt <deweerdt>Open/Closed: Closed
Release: 0.8.3Fixed Release: NextRelease

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Fri 27 Apr 2007 09:46:57 AM UTC, comment #6:

Après une vérification sommaire.
Je pense que la dépendance à la libXi
est dépendante des versions de la lib GLUT et
donc éventuellement de la plateforme.

Donc je ne suis pas pour ajouter le FindX11.

Toutefois si on devait l'ajouter il vaut mieux
ecrire:

FIND_PACKAGE(X11)

que

INCLUDE(${CMAKE_ROOT}/Modules/FindX11.cmake)

Quelques détails à propos des dépendances
chez moi (FC6/i686):
(ma libglut est issue des packages freeglut et freeglut-devel)

ldd Linux/Debug/bin/Visu3D
libm.so.6 => /lib/libm.so.6 (0x008f3000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x0052a000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0x0093b000)
libglut.so.3 => /usr/lib/libglut.so.3 (0xb7f56000)
libtsp_consumer.so => /udd/deri/enoulard/TSP/build_i386/Linux/Debug/lib/libtsp_consumer.so (0xb7f42000)
libtsp_common.so => /udd/deri/enoulard/TSP/build_i386/Linux/Debug/lib/libtsp_common.so (0xb7f39000)
libtsp_services.so => /udd/deri/enoulard/TSP/build_i386/Linux/Debug/lib/libtsp_services.so (0xb7f37000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00922000)
libc.so.6 => /lib/libc.so.6 (0x007b4000)
/lib/ld-linux.so.2 (0x00797000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00a08000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00b53000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x03dde000)
libdl.so.2 => /lib/libdl.so.2 (0x0091c000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00db9000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x04015000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x04007000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x009fb000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00a00000)

donc pas de libXi en dépendance.
Chez moi la libXi est installée mais pas "à cause" de GLUT:

--> Processing Dependency: libXi.so.6 for package: redhat-lsb
--> Processing Dependency: libXi.so.6 for package: gtk2
--> Processing Dependency: libXi.so.6 for package: xorg-x11-server-utils
--> Processing Dependency: libXi.so.6 for package: xorg-x11-utils
--> Processing Dependency: libXi.so.6 for package: gok
--> Processing Dependency: libXi = 1.0.1-3.1 for package: libXi-devel
--> Processing Dependency: libXi.so.6 for package: gdm
--> Processing Dependency: libXi.so.6 for package: control-center
--> Processing Dependency: libXi.so.6 for package: linuxwacom
--> Processing Dependency: libXi.so.6 for package: libXi-devel

et je vous passe les dépendances des dépendances.

Eric NOULARD <erk>
Project Administrator
Fri 27 Apr 2007 09:27:50 AM UTC, comment #5:

En fait j'ai regardé ça en même temps que toi
mais FindX11 ne vérifie pas que libXi est présente :))
Mais "seulement"

libX11
et libXext

reste à voir si libX11 et/ou libXext tire la dépendance.

Eric NOULARD <erk>
Project Administrator
Fri 27 Apr 2007 09:16:20 AM UTC, comment #4:

J'allais committer la modif suivante autrement:
(Grosso modo faire FindX11 et ajouter X11_FOUND aux conditions de
génération de Visu3D)
A+
Index: src/consumers/CMakeLists.txt
===================================================================
RCS file: /sources/tsp/tsp/src/consumers/CMakeLists.txt,v
retrieving revision 1.5
diff -u -r1.5 CMakeLists.txt
--- src/consumers/CMakeLists.txt 29 Jan 2007 19:41:46 -0000 1.5
+++ src/consumers/CMakeLists.txt 27 Apr 2007 09:14:55 -0000
@@ -25,9 +25,10 @@
ENDIF (GTK_FOUND AND NOT WIN32)

IF (NOT WIN32)
- IF (OPENGL_FOUND AND OPENGL_GLU_FOUND AND GLUT_FOUND)
+ INCLUDE(${CMAKE_ROOT}/Modules/FindX11.cmake)
+ IF (OPENGL_FOUND AND OPENGL_GLU_FOUND AND GLUT_FOUND AND X11_FOUND)
ADD_SUBDIRECTORY(Visu3D)
- ELSE (OPENGL_FOUND AND OPENGL_GLU_FOUND AND GLUT_FOUND)
+ ELSE (OPENGL_FOUND AND OPENGL_GLU_FOUND AND GLUT_FOUND AND X11_FOUND)
MESSAGE(STATUS "Cannot build Visu3D some lib is missing")
- ENDIF (OPENGL_FOUND AND OPENGL_GLU_FOUND AND GLUT_FOUND)
+ ENDIF (OPENGL_FOUND AND OPENGL_GLU_FOUND AND GLUT_FOUND AND X11_FOUND)
ENDIF (NOT WIN32)

Frederik Deweerdt <deweerdt>
Project AdministratorIn charge of this item.
Fri 27 Apr 2007 09:13:49 AM UTC, comment #3:

Virginie,

Peux-tu nous donner la sortie de la configuration CMake?
par exemple

cd <build_tree>
cmake . > cmake.out

le fichier cmake.out
ainsi que les fichiers

<build_tree>/CMakeCache.txt

CMake aurait dû détecter que la librairie n'était pas
présente et désactiver la compilation de Visu3D.

Néanmoins on ne teste pas la présence de la libXi
mais sur nos systèmes elle est installée avec les libs
GL et GLU...

Eric NOULARD <erk>
Project Administrator
Fri 27 Apr 2007 09:03:26 AM UTC, comment #2:

It seems that we need to check if libXi is present before building Visu3D

Frederik Deweerdt <deweerdt>
Project AdministratorIn charge of this item.
Fri 27 Apr 2007 07:58:44 AM UTC, comment #1:

Could you post the results of ldd <path-to>/libglut.so ?
Could you also compile with make VERBOSE=1 and post the results here?
Regards,
Frederik

Frederik Deweerdt <deweerdt>
Project AdministratorIn charge of this item.
Fri 27 Apr 2007 07:49:12 AM UTC, original submission:

The generation of TSP 0.8.3 version is NOK on PC Linux :

While generation Visu3D, we have the following errors:
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libglut.so : undefined reference to 'XGetExtensionVersion'
undefined reference to 'XFreeDeviceList'
undefined reference to 'XQueryDeviceState' etc...........

Thanks...

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by erk (Posted a comment)
  • -unavailable- added by deweerdt (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 04 May 2007 02:54:57 PM UTCdeweerdtStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
      Fixed ReleaseUnknown=>NextRelease
    Fri 27 Apr 2007 09:16:20 AM UTCdeweerdtStatusIn Progress=>Ready For Test
    Fri 27 Apr 2007 09:13:49 AM UTCerkCarbon-Copy-=>Added -unavailable-
    Fri 27 Apr 2007 07:58:44 AM UTCdeweerdtStatusNone=>In Progress
      Assigned toNone=>deweerdt

    Back to the top


    Powered by Savane 3.1-cleanup1