obexfs won't install

2007-08-22
2013-05-01
  • Flip Bertusjes
    Flip Bertusjes
    2007-08-22

    Hi, I have installed openobex as you can see:

    # yum info openobex
    Installed Packages
    Name   : openobex
    Arch   : i386
    Version: 1.3
    Release: 5.fc7
    Size   : 81 k
    Repo   : installed
    Summary: Library for using OBEX
    Description:
    Open OBEX shared c-library

    And tried to install obexfs from obexfs-0.8.tar.gz but at the end of ./configure, it says:
    No package 'openobex' found.
    What's the problem?
    Thanks

     
    • Did you install ObexFTP? Try ObexFTP-0.22-rc6 and ObexFS-0.11-rc2. (see http://dev.zuckschwerdt.org/openobex/wiki/ObexDownloads )

       
    • Flip Bertusjes
      Flip Bertusjes
      2007-08-23

      ObexFTP-0.22 was already installed.
      Installing ObexFS-0.11-rc2 helps insofar that the "No package 'openobex' found." message does no more appear.
      However, the message "No package 'fuse' found." appears now. Even if I have already installed fuse.
      Now what? :)
      Thanks

       
      • Sounds like the pkg-config file for fuse isn't found. It's a common problem with mixed installs to both /usr and /usr/local

        Can you check 'pkg-config --libs fuse'?
        Also you could try to copy/link /usr/lib/pkgconfig/fuse.pc to /usr/local/lib/pkgconfig/fuse.pc -- or the other way around.

         
    • Flip Bertusjes
      Flip Bertusjes
      2007-08-24

      Thanks!

      # pkg-config --libs fuse
      Package fuse was not found in the pkg-config search path.
      Perhaps you should add the directory containing `fuse.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'fuse' found

      # locate fuse.pc
      /home/<user>/pc/packages/fuse-2.7.0/fuse.pc
      /home/<user>/pc/packages/fuse-2.7.0/fuse.pc.in
      /usr/local/lib/pkgconfig/fuse.pc

      So I checked the PKG_CONIG_PATH variable:
      # echo $PKG_CONFIG_PATH

      #

      So, nothing in there! What am I doing wrong in looking for the pkgconfig environment variable PKG_CONFIG_PATH ?

       
    • Flip Bertusjes
      Flip Bertusjes
      2007-08-24

      OK, so I found out that the default search path of pkg-config is /usr/lib/pkgconfig and any alternative one should be added to the PKG_CONFIG_PATH environment variable. So that one needs to be created, which I did by
         export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig/
      However, now it appears that this newer ObexFS-0.11-rc2 first checks or fuse, and then for obexfs, as we might conclude from:
         checking for FUSE... yes
         checking for OPENOBEX... configure: error: Package requirements (openobex) were not met:
         No package 'openobex' found
         Consider adjusting the PKG_CONFIG_PATH environment variable if you
         installed software in a non-standard prefix.
      So now I'm stuck, as I already do have
         # yum info openobex
         Installed Packages
         Name : openobex
         Arch : i386
         Version: 1.3
         Release: 5.fc7
      installed. So, what's wrong eventually. Could it be that these packages installed through yum don't have a /usr/lib/(local/)pkgconfig/*.pc file?
      On the other hand, my /usr/lib/pkgconfig/ is full of .pc files, so I don't think this is the case. Maybe only openobex.rpm doesn't install one through yum?

      Thanks anyway for going through this with me.

       
    • Flip Bertusjes
      Flip Bertusjes
      2007-08-24

      Sorry, maybe useful info: Fedora 7 here.

       
      • Alex Kanavin
        Alex Kanavin
        2007-08-24

        Do you have package openobex-devel installed?

         
        • Flip Bertusjes
          Flip Bertusjes
          2007-08-24

          Extrapolating your remark to installing not only openobex-devel, but also obexftp-devel from the fedora repositorie did the job. So I was able to install ObexFS finally.
          THanks a lot for your valuable remark!

           
    • Flip Bertusjes
      Flip Bertusjes
      2007-08-24

      No, but I will do that now :)
      Thanks.
      I think the Openobex website could have pointed that one out as a required package to install ObexFS.

       
      • Alex Kanavin
        Alex Kanavin
        2007-08-24

        That's only required in Fedora, and it is assumed that you, as a Fedora user, know that compiling stuff on that distro requires installing all of the compile dependencies from -devel packages :)

         
        • Flip Bertusjes
          Flip Bertusjes
          2007-09-09

          BENG!
          Noted :)