Install instructions for ObexFTP
Arch
pacman -S obexftp
https://www.archlinux.org/devel/packages.php?id=10446 for more infos.
Gentoo
emerge -av obexftp
Ubuntu
sudo apt-get install obexftp
Fedora Core 4 / Slackware 10.2
The ‘openobex.pc’ file from OpenOBEX is installed in ‘/usr/local/lib/pkgconfig’ and not ‘/usr/lib/pkgconfig’.
You can either copy the pkg-config file to the expected location or use
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
./configure
make
— Sean Lincolne
If you have another package that has written a ‘/usr/local/lib/pkgconfig’ file by accident, then OpenOBEX won’t replace it. Instead, fish the openobex.pc out of its build directory (from the tar.gz of OpenOBEX) and put it in /usr/lib/pkgconfig/ directly.
— Paul Wayper (paulway at mabula.net)
Build from Sources
- make sure you have installed OpenObex and BluezLib
- download obexftp here
- extract the tarball to a temporary folder
execute the following
export OPENOBEX_LIBS=”-L/usr/lib -lopenobex”
export OPENOBEX_CFLAGS=”-I/usr/include/openobex/ -I/usr/include”
./configure –prefix=/usr
make
make install
Tips:
obexftp-0.20 does not compile on FC6, gcc4.1.1, openobex-devel-1.3-3.1
with error collect2: ld returned 1 exit status
Try ./configure --with-gnu-ld
ObexFS
error: fuse.h: Not found
You need to install Fuse.
error: obexftp/obexftp.h: Not found
You need to install ObexFTP.
error: bluetooth/bluetooth.h: Not found
You need to install Bluez.
On systems like debian, ubuntu, SuSE, Fedora, etc. you have to install the matching
“-devel” packets too.
Install bluez-devel, openobex-devel, fuse-devel and maybe a few more.