install error

Help
2008-10-11
2013-04-22
  • guus dehart

    guus dehart - 2008-10-11

    Hi,
    I am running Ubuntu and downloaded the brlcad-7.12.6 tar file. on the make command I get the following error:

    /home/rgisa/brlcad-7.12.6/src/libdm/.libs/libdm.so: undefined reference to `XFreeDeviceList'
    /home/rgisa/brlcad-7.12.6/src/libdm/.libs/libdm.so: undefined reference to `XOpenDevice'
    /home/rgisa/brlcad-7.12.6/src/libdm/.libs/libdm.so: undefined reference to `XSelectExtensionEvent'
    /home/rgisa/brlcad-7.12.6/src/libdm/.libs/libdm.so: undefined reference to `XListInputDevices'
    collect2: ld returned 1 exit status
    make[2]: *** [btclsh] Error 1
    make[2]: Leaving directory `/home/rgisa/brlcad-7.12.6/src/bwish'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/rgisa/brlcad-7.12.6/src'
    make: *** [all-recursive] Error 1

    Does anyone have an idea how to solve this?

    Thanx

    Guus de Hart

     
    • Sean Morrison

      Sean Morrison - 2008-10-12

      That means that you are missing libXi. You should verify that you actually don't have it, and install it.  Then restart the build from scratch.  Configure has a test for libXi that needs to pass.

       
      • guus dehart

        guus dehart - 2008-10-13

        rgisa@rgisa-desktop:~$ sudo aptitude search libxi
        i   libxi6                          - X11 Input extension library              
        i A libxine1                        - the xine video/media player library, meta-
        i A libxine1-bin                    - the xine video/media player library, binar
        i A libxine1-console                - libaa/libcaca/framebuffer/directfb related
        i A libxine1-ffmpeg                 - MPEG-related plugins for libxine1        
        i A libxine1-misc-plugins           - Input, audio output and post plugins for l
        i A libxine1-plugins                - the xine video/media player library, meta
        i A libxine1-x                      - X desktop video output plugins for libxine
        i   libxinerama1                    - X11 Xinerama extension library           
        rgisa@rgisa-desktop:~$ sudo apt-get install libxi6
        Reading package lists... Done
        Building dependency tree      
        Reading state information... Done
        libxi6 is already the newest version.
        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
        rgisa@rgisa-desktop:~$ sudo apt-get install libxine1
        Reading package lists... Done
        Building dependency tree      
        Reading state information... Done
        libxine1 is already the newest version.
        libxine1 set to manually installed.
        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
        rgisa@rgisa-desktop:~$ sudo apt-get install libxinerara1
        Reading package lists... Done
        Building dependency tree      
        Reading state information... Done
        E: Couldn't find package libxinerara1
        rgisa@rgisa-desktop:~$ sudo apt-get install libxinerama1
        Reading package lists... Done
        Building dependency tree      
        Reading state information... Done
        libxinerama1 is already the newest version.
        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
        rgisa@rgisa-desktop:~$ sudo apt-get install libxine1-plugins
        Reading package lists... Done
        Building dependency tree      
        Reading state information... Done
        libxine1-plugins is already the newest version.
        libxine1-plugins set to manually installed.
        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
        rgisa@rgisa-desktop:~$ sudo apt-get install libxine1-console
        Reading package lists... Done
        Building dependency tree      
        Reading state information... Done
        libxine1-console is already the newest version.
        libxine1-console set to manually installed.
        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

        I think I did the right thing, now, I do not have the minimum clue how to configure these libraries so brlcad can actually encounter them. Thankx very much for your time.

         
        • Sean Morrison

          Sean Morrison - 2008-10-13

          Since you do have libXi installed, it sounds like it is just a configuration problem.  You have to tell configure where X lives if it's not in a place that your system (automake) tools are preconfigured to look.  More than likely libXi is probably either in /usr/X11 or /usr/X11R6 -- try ./configure --with-x11=/usr/X11

          Cheers!
          Sean

           
    • guus dehart

      guus dehart - 2008-10-14

      the only path of an x11 folder is right in the:

      /home/rgisa/usr/brlcad-7.12.6/src/other/tk/xlib

      after searching the computer for x11.

      in this folder are the following files.

      rgisa@rgisa-desktop:~/usr/brlcad-7.12.6/src/other/tk/xlib$ dir
      license.terms  X11  xbytes.h  xcolors.c  xdraw.c  xgc.c  ximage.c  xutil.c

      I have a feeling something is out of normal on my computer. but anyway, thanks sofar

       
      • Sean Morrison

        Sean Morrison - 2008-10-15

        From your aptitude results, I don't think you searched correctly.  You were probably searching the wrong way, maybe only looking for a dir named X11 or something.  Look in /usr .. if you have an X11 or X11R6 or X11R7 or some similar dir in there, try adding that as the --with-x11=/usr/X11 path.

        Sean

         
    • guus dehart

      guus dehart - 2008-10-17

      hi Sean,

      you were right. now I think it shoul be working, but one more silly question. How does BRLCAD start? I cannot identify a file in the usr/brlcad structure that launches the program and the aplication menu does not contain any link.

      Could you please help me out? I am not what you would call an experienced linux user...

      Thanx a million

       
    • Killian Villian

      Killian Villian - 2009-05-25

      I have a question related to this thread, and I dont want to start a new thread if its not necessary.

      My ./configure routine is having trouble finding the Xi libraries.

      configure:28552: WARNING: X11 support is enabled but the Xi library was not found.
      configure:28554: WARNING: This will likely result in a build failure.
      configure:28556: WARNING: See config.log for details why (look for this comment)

      I found the folder, but its not structured the way I would think:

      /usr/X11R6

      inside this folder is a directory link `bin` which is just a virtual directory that links back to:

      /bin

      i have tried these ./configure routines to fix the problem, and none have worked:

      ./configure --with-x11=/usr

      ./configure --with-x11=/usr/X11R6

      ./configure --with-x11=/usr/X11R6/bin

      ./configure --with-x11=/bin

      Any help is ridiculously appreciated.

       
      • Sean Morrison

        Sean Morrison - 2009-05-25

        You should start a new thread for new issues.  Your problem doesn't seem to be a configure path-to-X11 problem.  It said you don't have the Xi library installed.  You need to install libXi.

         

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks