Results 1 to 9 of 9

Thread: compliation of software fails >>> "need to install netpbm"

  1. #1
    Join Date
    Jun 2008
    Location
    Brisbane, Australia
    Posts
    207

    Default compliation of software fails >>> "need to install netpbm"

    Trying to compile mx5000lib. I get this error:
    "checking for pbm_readpbm in -lnetpbm ...no
    configure: error: You need netpbm installed".

    Here is output of "config.log" opensuse private pastebin - collaborative debugging tool Run a search for 'pbm'

    Code:
    felipe@suse-amd:~> ls -l /usr/lib/*pbm*
    lrwxrwxrwx 1 root root     18 2008-09-06 11:31 /usr/lib/libnetpbm.so -> libnetpbm.so.10.26
    lrwxrwxrwx 1 root root     18 2008-09-06 11:36 /usr/lib/libnetpbm.so.10 -> libnetpbm.so.10.26
    -rwxr-xr-x 1 root root 138872 2008-08-30 03:05 /usr/lib/libnetpbm.so.10.26
    lrwxrwxrwx 1 root root     12 2008-09-06 11:31 /usr/lib/libpbm.so -> libnetpbm.so
    felipe@suse-amd:~> zypper se -st package pbm
    Reading installed packages...
    
    S | Name            | Type    | Version       | Arch | Repository
    --+-----------------+---------+---------------+------+------------------
    i | libnetpbm-devel | package | 10.26.44-90   | i586 | openSUSE:Factory
    v | libnetpbm-devel | package | 10.26.44-62.1 | i586 | openSUSE-11.0-Oss
    i | libnetpbm10     | package | 10.26.44-90   | i586 | openSUSE:Factory
    v | libnetpbm10     | package | 10.26.44-62.1 | i586 | openSUSE-11.0-Oss
    i | netpbm          | package | 10.26.44-90   | i586 | openSUSE:Factory
    v | netpbm          | package | 10.26.44-62.1 | i586 | openSUSE-11.0-Oss
      | pbm2l7k         | package | 990321-924    | i586 | openSUSE:Factory
      | pbm2l7k         | package | 990321-904.1  | i586 | openSUSE-11.0-Oss
    felipe@suse-amd:~>
    I tried to install all netpbm-related packages from opensuseOSS repo and opensuseFACTORY as well. Any ideas on what to do?
    NVIDIA! Listen to your customers! We want Free drivers.
    Petition #1. Petition #2. Use your VOICE! Sign the petitions!

  2. #2
    Join Date
    Jun 2008
    Location
    Brisbane, Australia
    Posts
    207

    Default Re: compliation of software fails >>> "need to install netpb

    Any ideas? Anything I should be looking out for?
    NVIDIA! Listen to your customers! We want Free drivers.
    Petition #1. Petition #2. Use your VOICE! Sign the petitions!

  3. #3
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: compliation of software fails >>> "need to install netpb

    The log has these error lines:

    Code:
    #
    /usr/lib/gcc/i586-suse-linux/4.3/../../../libnetpbm.so: undefined reference to `log'
    #
    /usr/lib/gcc/i586-suse-linux/4.3/../../../libnetpbm.so: undefined reference to `pow'
    So the configure script in your software package is faulty, it should include -lm to work. Complain to the authors.

  4. #4
    Join Date
    Jun 2008
    Location
    Brisbane, Australia
    Posts
    207

    Default Re: compliation of software fails >>> "need to install netpb

    Is it easy to correct myself?
    NVIDIA! Listen to your customers! We want Free drivers.
    Petition #1. Petition #2. Use your VOICE! Sign the petitions!

  5. #5
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: compliation of software fails >>> "need to install netpb

    You'll have to add -lm (the math library) to the libraries passed to ld in configure's tests. It's up to you to figure out how to do that in the configure script.

  6. #6
    Join Date
    Jun 2008
    Location
    Brisbane, Australia
    Posts
    207

    Default Re: compliation of software fails >>> "need to install netpb

    i don't know what the heck that means
    NVIDIA! Listen to your customers! We want Free drivers.
    Petition #1. Petition #2. Use your VOICE! Sign the petitions!

  7. #7
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: compliation of software fails >>> "need to install netpb

    Complain to the author then. They didn't take into account that recent netpbm libraries require linking with the math library.

  8. #8
    Join Date
    Jun 2008
    Location
    Brisbane, Australia
    Posts
    207

    Default Re: compliation of software fails >>> "need to install netpb

    I made a bug report, but it seems like other bug reports are going unanswered. Maybe I'll wait and see. It isn't urgent.

    I appreciate your help.

    felipe
    NVIDIA! Listen to your customers! We want Free drivers.
    Petition #1. Petition #2. Use your VOICE! Sign the petitions!

  9. #9

    Talking Re: compliation of software fails >>> "need to install netpb

    It is too easy. open the 'configure' file in a editor. search for the netpbm checking part. you will find a line starting with gcc in which -lnetpbm or -lpbm is written. Add -lm to this line. save the file and rerun it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •