flathub / flathub

Issue tracker and new submissions
https://docs.flathub.org/docs/for-app-authors/submission
GNU Lesser General Public License v2.1
1.15k stars 2.16k forks source link

Error on try to compile plib: could not find working GL library #622

Closed son-link closed 1 year ago

son-link commented 6 years ago

Hi. I make a new package, but on try to compile plib with config-opts return this error:

checking for glNewList in -lGL... no
checking for glNewList in -lMesaGL... no
configure: error: could not find working GL library
Error: module plib: Child process exited with code 1

Those is the lines (get from torcs):

- name: plib
    rm-configure: true
    config-opts:
      - CXXFLAGS=-fPIC

    sources:
      - type: archive
        url: http://plib.sourceforge.net/dist/plib-1.8.5.tar.gz
        sha1: c2cf7e3e1e58f7b63dae4bb21e4fa82c3e4d4cfc

      - type: script
        dest-filename: autogen.sh
        commands: 
          - autoreconf -vfi

I compile Glut, GLU and Libxmu before plib

barthalion commented 6 years ago

Hard to say what's wrong without looking into config.log.

barthalion commented 6 years ago

For what it's worth, it worked at some point with 1.6: https://github.com/flathub/net.sourceforge.torcs

son-link commented 6 years ago

This is the config.log of last plib ./configure config.log

nanonyme commented 3 years ago

Is this still happening with some reasonably recent runtime?

razzeee commented 1 year ago

Closing due to inactivity/no responses.