LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Installing Captive drivers to reasd NTFS drives transparently (https://www.linuxquestions.org/questions/mandriva-30/installing-captive-drivers-to-reasd-ntfs-drives-transparently-289120/)

crash_zero 02-11-2005 07:26 PM

Installing Captive drivers to reasd NTFS drives transparently
 
Well, I'm giving these a shot -- I've used them on live distros and I'd like them on my current 10.1 install. I havent had any issues compiling the software, but run into problems make installing.... here's what I get...

/bin/sh ../../../mkinstalldirs /usr/include/captive
make[8]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src/libcaptive/client'
make[7]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src/libcaptive/client'
make[6]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src/libcaptive/client'
make[6]: Entering directory `/home/crash_x/capture/captive-1.1.5/src/libcaptive'
make[7]: Entering directory `/home/crash_x/capture/captive-1.1.5/src/libcaptive'
/bin/sh ../../mkinstalldirs /usr/lib
/bin/sh ../../libtool --mode=install /usr/bin/install -c libcaptive.la /usr/lib/libcaptive.la
/usr/bin/install -c .libs/libcaptive-1.1.5.so /usr/lib/libcaptive-1.1.5.so
(cd /usr/lib && rm -f libcaptive.so && ln -s libcaptive-1.1.5.so libcaptive.so)
/usr/bin/install -c .libs/libcaptive.lai /usr/lib/libcaptive.la
PATH="$PATH:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh ../../mkinstalldirs /usr/bin
/bin/sh ../../mkinstalldirs /usr/sbin
make install-exec-hook
make[8]: Entering directory `/home/crash_x/capture/captive-1.1.5/src/libcaptive'
if test `id -u` -eq 0 -a -z "";then \
if test x/usr/lib != x/lib -a x/usr/lib != x/usr/lib && ! grep -q '^/usr/lib$' /etc/ld.so.conf;then \
echo -n "WARNING: Add '/usr/lib' to your '/etc/ld.so.conf' and run ldconfig(8)! Press ENTER...";read; \
fi; \
ldconfig || echo -n "WARNING: Failed to run ldconfig(8) - run manually! Press ENTER...";read; \
fi

make[8]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src/libcaptive'
/bin/sh ../../mkinstalldirs /usr/man/man7
/usr/bin/install -c -m 644 ./captive.7 /usr/man/man7/captive.7
/bin/sh ../../mkinstalldirs /usr/include/captive
make[7]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src/libcaptive'
make[6]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src/libcaptive'
make[5]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src/libcaptive'
make[4]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src/libcaptive'
Making install in client
make[4]: Entering directory `/home/crash_x/capture/captive-1.1.5/src/client'
make install-recursive
make[5]: Entering directory `/home/crash_x/capture/captive-1.1.5/src/client'
Making install in cmdline
make[6]: Entering directory `/home/crash_x/capture/captive-1.1.5/src/client/cmdline'
make install-am
make[7]: Entering directory `/home/crash_x/capture/captive-1.1.5/src/client/cmdline'
make[8]: Entering directory `/home/crash_x/capture/captive-1.1.5/src/client/cmdline'
/bin/sh ../../../mkinstalldirs /usr/lib
/bin/sh ../../../mkinstalldirs /usr/bin
/bin/sh ../../../libtool --mode=install /usr/bin/install -c captive-cmdline /usr/bin/captive-cmdline
/usr/bin/install -c .libs/captive-cmdline /usr/bin/captive-cmdline
/bin/sh ../../../mkinstalldirs /usr/sbin
/bin/sh ../../../mkinstalldirs /usr/man/man1
/usr/bin/install -c -m 644 ./captive-cmdline.1 /usr/man/man1/captive-cmdline.1
/bin/sh ../../../mkinstalldirs /usr/include/captive
make[8]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src/client/cmdline'
make[7]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src/client/cmdline'
make[6]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src/client/cmdline'
Making install in sandbox-server
make[6]: Entering directory `/home/crash_x/capture/captive-1.1.5/src/client/sandbox-server'
make install-am
make[7]: Entering directory `/home/crash_x/capture/captive-1.1.5/src/client/sandbox-server'
make[8]: Entering directory `/home/crash_x/capture/captive-1.1.5/src/client/sandbox-server'
/bin/sh ../../../mkinstalldirs /usr/lib
/bin/sh ../../../mkinstalldirs /usr/bin
/bin/sh ../../../mkinstalldirs /usr/sbin
/bin/sh ../../../libtool --mode=install /usr/bin/install -c -o root -g root -m 4755 captive-sandbox-server /usr/sbin/captive-sandbox-server
/usr/bin/install -c -o root -g root -m 4755 .libs/captive-sandbox-server /usr/sbin/captive-sandbox-server
make install-exec-hook
make[9]: Entering directory `/home/crash_x/capture/captive-1.1.5/src/client/sandbox-server'
if test `id -u` -eq 0 -a -z "";then \
if grep -q '^captive:' /etc/group;then true;else \
echo "ERROR: Add 'captive' to your '/etc/group'; see README and groupadd(8)"; \
exit 1; \
fi; \
if grep -q '^captive:' /etc/passwd;then true;else \
echo "ERROR: Add 'captive' to your '/etc/passwd'; see README and useradd(8)"; \
exit 1; \
fi; \
fi
ERROR: Add 'captive' to your '/etc/group'; see README and groupadd(8)
make[9]: *** [install-exec-hook] Error 1
make[9]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src/client/sandbox-server'
make[8]: *** [install-exec-am] Error 2
make[8]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src/client/sandbox-server'
make[7]: *** [install-am] Error 2
make[7]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src/client/sandbox-server'
make[6]: *** [install] Error 2
make[6]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src/client/sandbox-server'
make[5]: *** [install-recursive] Error 1
make[5]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src/client'
make[4]: *** [install] Error 2
make[4]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src/client'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/crash_x/capture/captive-1.1.5/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/crash_x/capture/captive-1.1.5'
make: *** [install] Error 2

I guess I'm not experienced enough to know what the erros thrown mean... and the README isn't helpful as the messages seem to suggest. Any help is appreciated!

crash

sigsegv 02-11-2005 07:57 PM

Quote:

"ERROR: Add 'captive' to your '/etc/passwd'; see README and useradd(8)"
"ERROR: Add 'captive' to your '/etc/group'; see README and groupadd(8)"
That's pretty much all there is to say.

crash_zero 02-11-2005 09:27 PM

Hahaha.... How exactly do I do that? The readme doesn't say anything....

crash

opjose 02-11-2005 09:29 PM

Not to sound too much like a smartalex...

"man passwrd"

etc.

sigsegv 02-11-2005 09:33 PM

To intentionally sound like a smartalec -- I think you mean man passwd, though man useradd and man groupadd might be more appropriate in this case. :p

opjose 02-11-2005 09:34 PM

Heh,

CORRECTED!

crash_zero 02-12-2005 06:57 PM

Well.... i've read up on both of those commands -- lets move to a different topic... I enabled 2 packages using configure by installing an optional dependency... I tried recompiling and I get this error:

make[6]: Entering directory `/home/crash_x/Installed/capture/captive-1.1.5/src/install/acquire'
make all-am
make[7]: Entering directory `/home/crash_x/Installed/capture/captive-1.1.5/src/install/acquire'
if gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -I../../../src/libcaptive/include -I../../../intl -I. -I. -I../../../ -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -DCAPTIVE_USE_GNOME_VFS=1 -I/usr/include/libxml2 -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/freetype2 -I/usr/include/freetype2/freetype2/config -I/usr/include/libxml2 -DSYSCONFDIR="/usr/local/etc" -DVARLIBCAPTIVEDIR="/usr/local/var/lib/captive" -g -O2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT captive_install_acquire-ui-line.o -MD -MP -MF ".deps/captive_install_acquire-ui-line.Tpo" \
-c -o captive_install_acquire-ui-line.o `test -f 'ui-line.c' || echo './'`ui-line.c; \
then mv -f ".deps/captive_install_acquire-ui-line.Tpo" ".deps/captive_install_acquire-ui-line.Po"; \
else rm -f ".deps/captive_install_acquire-ui-line.Tpo"; exit 1; \
fi
ui-line.c: In function `line_read':
ui-line.c:139: error: incompatible types in assignment
ui-line.c:148: warning: function returns address of local variable
make[7]: *** [captive_install_acquire-ui-line.o] Error 1
make[7]: Leaving directory `/home/crash_x/Installed/capture/captive-1.1.5/src/install/acquire'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/home/crash_x/Installed/capture/captive-1.1.5/src/install/acquire'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/crash_x/Installed/capture/captive-1.1.5/src/install'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/crash_x/Installed/capture/captive-1.1.5/src/install'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/crash_x/Installed/capture/captive-1.1.5/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/crash_x/Installed/capture/captive-1.1.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/crash_x/Installed/capture/captive-1.1.5'
make: *** [all] Error 2


What do you guys make of this?

crash


All times are GMT -5. The time now is 03:46 PM.