LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2012, 09:20 PM   #1
r1n0
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Rep: Reputation: Disabled
Smile Install Data Acquisition API fail


I have a problem when installing the data acquisition API.


root@rinosnort-desktop:/home/rinosnort/SS SkripsiSnort/daq-0.6.2# make
make all-recursive
make[1]: Entering directory `/home/rinosnort/SS SkripsiSnort/daq-0.6.2'
Making all in api
make[2]: Entering directory `/home/rinosnort/SS SkripsiSnort/daq-0.6.2/api'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/rinosnort/SS SkripsiSnort/daq-0.6.2/api'
Making all in sfbpf
make[2]: Entering directory `/home/rinosnort/SS SkripsiSnort/daq-0.6.2/sfbpf'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/rinosnort/SS SkripsiSnort/daq-0.6.2/sfbpf'
Making all in os-daq-modules
make[2]: Entering directory `/home/rinosnort/SS SkripsiSnort/daq-0.6.2/os-daq-modules'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/rinosnort/SS SkripsiSnort/daq-0.6.2/os-daq-modules'
make[2]: Entering directory `/home/rinosnort/SS SkripsiSnort/daq-0.6.2'
make[2]: Leaving directory `/home/rinosnort/SS SkripsiSnort/daq-0.6.2'
make[1]: Leaving directory `/home/rinosnort/SS SkripsiSnort/daq-0.6.2'
root@rinosnort-desktop:/home/rinosnort/SS SkripsiSnort/daq-0.6.2# make install
Making install in api
make[1]: Entering directory `/home/rinosnort/SS SkripsiSnort/daq-0.6.2/api'
make[2]: Entering directory `/home/rinosnort/SS SkripsiSnort/daq-0.6.2/api'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c libdaq.la libdaq_static.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libdaq.so.0.0.1 /usr/local/lib/libdaq.so.0.0.1
libtool: install: (cd /usr/local/lib && { ln -s -f libdaq.so.0.0.1 libdaq.so.0 || { rm -f libdaq.so.0 && ln -s libdaq.so.0.0.1 libdaq.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libdaq.so.0.0.1 libdaq.so || { rm -f libdaq.so && ln -s libdaq.so.0.0.1 libdaq.so; }; })
libtool: install: /usr/bin/install -c .libs/libdaq.lai /usr/local/lib/libdaq.la
libtool: install: /usr/bin/install -c .libs/libdaq_static.lai /usr/local/lib/libdaq_static.la
libtool: install: /usr/bin/install -c .libs/libdaq.a /usr/local/lib/libdaq.a
libtool: install: chmod 644 /usr/local/lib/libdaq.a
libtool: install: ranlib /usr/local/lib/libdaq.a
libtool: install: /usr/bin/install -c .libs/libdaq_static.a /usr/local/lib/libdaq_static.a
libtool: install: chmod 644 /usr/local/lib/libdaq_static.a
libtool: install: ranlib /usr/local/lib/libdaq_static.a
/bin/bash: /home/rinosnort/SS: No such file or directory
make[2]: *** [install-libLTLIBRARIES] Error 127
make[2]: Leaving directory `/home/rinosnort/SS SkripsiSnort/daq-0.6.2/api'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/rinosnort/SS SkripsiSnort/daq-0.6.2/api'
make: *** [install-recursive] Error 1

Help Me,
Thanks before.
 
Old 10-08-2012, 09:35 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,469

Rep: Reputation: Disabled
Looks like the install script is choking on directory names with spaces (/bin/bash: /home/rinosnort/SS: No such file or directory). Perhaps you could try renaming it?
 
Old 10-08-2012, 09:52 PM   #3
r1n0
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
changed the name of what ?
Thanks
 
Old 10-08-2012, 09:58 PM   #4
r1n0
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
now see a message like this


root@RinoSnort:/home/rinosnort/SkripsiSnort/daq-0.6.2# make install
Making install in api
make[1]: Entering directory `/home/rinosnort/SkripsiSnort/daq-0.6.2/api'
make[2]: Entering directory `/home/rinosnort/SkripsiSnort/daq-0.6.2/api'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c libdaq.la libdaq_static.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libdaq.so.0.0.1 /usr/local/lib/libdaq.so.0.0.1
libtool: install: (cd /usr/local/lib && { ln -s -f libdaq.so.0.0.1 libdaq.so.0 || { rm -f libdaq.so.0 && ln -s libdaq.so.0.0.1 libdaq.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libdaq.so.0.0.1 libdaq.so || { rm -f libdaq.so && ln -s libdaq.so.0.0.1 libdaq.so; }; })
libtool: install: /usr/bin/install -c .libs/libdaq.lai /usr/local/lib/libdaq.la
libtool: install: /usr/bin/install -c .libs/libdaq_static.lai /usr/local/lib/libdaq_static.la
libtool: install: /usr/bin/install -c .libs/libdaq.a /usr/local/lib/libdaq.a
libtool: install: chmod 644 /usr/local/lib/libdaq.a
libtool: install: ranlib /usr/local/lib/libdaq.a
libtool: install: /usr/bin/install -c .libs/libdaq_static.a /usr/local/lib/libdaq_static.a
libtool: install: chmod 644 /usr/local/lib/libdaq_static.a
libtool: install: ranlib /usr/local/lib/libdaq_static.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/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.
----------------------------------------------------------------------
test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
/usr/bin/install -c -m 644 daq.h daq_api.h daq_common.h '/usr/local/include'
make[2]: Leaving directory `/home/rinosnort/SkripsiSnort/daq-0.6.2/api'
make[1]: Leaving directory `/home/rinosnort/SkripsiSnort/daq-0.6.2/api'
Making install in sfbpf
make[1]: Entering directory `/home/rinosnort/SkripsiSnort/daq-0.6.2/sfbpf'
make[2]: Entering directory `/home/rinosnort/SkripsiSnort/daq-0.6.2/sfbpf'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c libsfbpf.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libsfbpf.so.0.0.1 /usr/local/lib/libsfbpf.so.0.0.1
libtool: install: (cd /usr/local/lib && { ln -s -f libsfbpf.so.0.0.1 libsfbpf.so.0 || { rm -f libsfbpf.so.0 && ln -s libsfbpf.so.0.0.1 libsfbpf.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libsfbpf.so.0.0.1 libsfbpf.so || { rm -f libsfbpf.so && ln -s libsfbpf.so.0.0.1 libsfbpf.so; }; })
libtool: install: /usr/bin/install -c .libs/libsfbpf.lai /usr/local/lib/libsfbpf.la
libtool: install: /usr/bin/install -c .libs/libsfbpf.a /usr/local/lib/libsfbpf.a
libtool: install: chmod 644 /usr/local/lib/libsfbpf.a
libtool: install: ranlib /usr/local/lib/libsfbpf.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/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.
----------------------------------------------------------------------
test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
/usr/bin/install -c -m 644 sfbpf.h sfbpf_dlt.h '/usr/local/include'
make[2]: Leaving directory `/home/rinosnort/SkripsiSnort/daq-0.6.2/sfbpf'
make[1]: Leaving directory `/home/rinosnort/SkripsiSnort/daq-0.6.2/sfbpf'
Making install in os-daq-modules
make[1]: Entering directory `/home/rinosnort/SkripsiSnort/daq-0.6.2/os-daq-modules'
make[2]: Entering directory `/home/rinosnort/SkripsiSnort/daq-0.6.2/os-daq-modules'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c daq-modules-config '/usr/local/bin'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c libdaq_static_modules.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libdaq_static_modules.lai /usr/local/lib/libdaq_static_modules.la
libtool: install: /usr/bin/install -c .libs/libdaq_static_modules.a /usr/local/lib/libdaq_static_modules.a
libtool: install: chmod 644 /usr/local/lib/libdaq_static_modules.a
libtool: install: ranlib /usr/local/lib/libdaq_static_modules.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/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.
----------------------------------------------------------------------
test -z "/usr/local/lib/daq" || /bin/mkdir -p "/usr/local/lib/daq"
/bin/bash ../libtool --mode=install /usr/bin/install -c daq_afpacket.la daq_pcap.la daq_dump.la daq_ipfw.la '/usr/local/lib/daq'
libtool: install: warning: relinking `daq_afpacket.la'
libtool: install: (cd /home/rinosnort/SS SkripsiSnort/daq-0.6.2/os-daq-modules; /bin/bash /home/rinosnort/SS SkripsiSnort/daq-0.6.2/libtool --tag CC --mode=relink gcc -DBUILDING_SO -g -O2 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -module -export-dynamic -avoid-version -shared -o daq_afpacket.la -rpath /usr/local/lib/daq daq_afpacket_la-daq_afpacket.lo ../sfbpf/libsfbpf.la )
../libtool: line 944: cd: /home/rinosnort/SS: No such file or directory
/bin/bash: /home/rinosnort/SS: No such file or directory
libtool: install: error: relink `daq_afpacket.la' with the above command before installing it
make[2]: *** [install-pkglibLTLIBRARIES] Error 1
make[2]: Leaving directory `/home/rinosnort/SkripsiSnort/daq-0.6.2/os-daq-modules'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/rinosnort/SkripsiSnort/daq-0.6.2/os-daq-modules'
make: *** [install-recursive] Error 1
 
Old 10-09-2012, 04:33 PM   #5
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,469

Rep: Reputation: Disabled
You still have a reference to the old directory name somewhere. Make sure you re-run the entire compilation procedure (./configure && make && make install).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
data acquisition device and wireless data dump frares Linux - Networking 2 08-24-2010 07:45 PM
USB Optical Mouse Data Acquisition fuzzyash Linux - Software 2 03-13-2007 07:26 AM
LXer: Developing a real-time Linux data acquisition application LXer Syndicated Linux News 0 08-22-2006 12:54 AM
Data Acquisition agarbino Linux - Hardware 0 12-02-2004 01:20 AM
Data acquisition from a device through serial port in linux newtolinux123 Linux - Newbie 1 04-22-2004 09:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration