Results 1 to 10 of 13
hello
I am tryin to install USBIP software which is available on "sourceforge.net" . As I am a new member in this forum i cant exactly paste the link here(it ...
- 07-25-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 10
NEWBIEEE HELP... please.. somebody
hello
I am tryin to install USBIP software which is available on "sourceforge.net" . As I am a new member in this forum i cant exactly paste the link here(it doesn't let me). Now, the version I downloaded was "usbip 0.1.7.tar.gz" .
I downloaded the file to my desktop and extracted the file to my desktop too.
Then I went to the terminal pointed to the desktop by cd command and then went to the corresponding directory to configure the file. Now, if any of u can download that file , u can see that the makefile is in src folder of the software. i changed directory to the src folder and typed "./configure" .
the following error occured
"no such file or directory" even though i was in the same directory.
also, it worked once and another error popped up sayin
"missing sources( config.h.in) in . or .."
i have no idea how to tackle these two errors..I am using Ubuntu 10.04 LTS with a kernel version of 2.6.32.23 -generic
for the second error , shoud i b first of all extractin the file somewere else??
pleaseeee help..
TA
NIDLast edited by chemical1608; 07-25-2010 at 01:02 AM. Reason: dint complete
- 07-25-2010 #2
Hi. Look inside the src directory and you will see "autogen.sh." Do:
Then you can do:Code:./autogen.sh
./configure
make
make install
...as instructed in the INSTALL file. Since you are using Ubuntu, you will likely have to install the "build essential" package in order to compile. If you have not done so already:
Code:sudo apt-get install build-essential
- 07-25-2010 #3Just Joined!
- Join Date
- Jun 2010
- Posts
- 10
HELP in installation
dear dan,
As u suggested I did "autogen.sh" and then " ./configure".
I get the 2nd error again.. "missing sources (config.h.in).....
n i had done the "bulid essential" command earlier.
should i be placing my folder somwere else or can i place it on my desktop . does it check for the linux kernel source files or smthin??
NID
- 07-25-2010 #4Just Joined!
- Join Date
- Jun 2010
- Posts
- 10
this is wot i GOt dan!!
nidhin@ubuntu:~/Desktop/usbip-0.1.7/src$ ./autogen.sh
+ autoreconf -i -f -v
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf2.50 line 189.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf2.50 line 189.
autoreconf2.50: Entering directory `.'
autoreconf2.50: configure.ac: not using Gettext
autoreconf2.50: running: aclocal --force
autoreconf2.50: configure.ac: tracing
autoreconf2.50: configure.ac: not using Libtool
autoreconf2.50: running: /usr/bin/autoconf --force
configure.ac:17: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf2.50: /usr/bin/autoconf failed with exit status: 1
nidhin@ubuntu:~/Desktop/usbip-0.1.7/src$ ./configure
configure: error: cannot find sources (config.h.in) in . or ..
nidhin@ubuntu:~/Desktop/usbip-0.1.7/src$ ^C
nidhin@ubuntu:~/Desktop/usbip-0.1.7/src$ configure
configure: command not found
nidhin@ubuntu:~/Desktop/usbip-0.1.7/src$ ./configure
configure: error: cannot find sources (config.h.in) in . or ..
nidhin@ubuntu:~/Desktop/usbip-0.1.7/src$ sudo apt-get build-essetial
[sudo] password for nidhin:
E: Invalid operation build-essetial
nidhin@ubuntu:~/Desktop/usbip-0.1.7/src$ sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 107 not upgraded.
nidhin@ubuntu:~/Desktop/usbip-0.1.7/src$ ./configure
configure: error: cannot find sources (config.h.in) in . or ..
- 07-25-2010 #5
Okay. let me look it over...
- 07-25-2010 #6
Hmmm... On my Ubuntu machine I get:
Try:Code:$ ./autogen.sh + autoreconf -i -f -v autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac: installing `./install-sh' configure.ac: installing `./missing' cmd/Makefile.am: installing `./depcomp' lib/Makefile.am: installing `./compile' autoreconf: Leaving directory `.' dapper@dapperdan:~/usbip-0.1.7/src$ ls aclocal.m4 cleanup.sh config.sub INSTALL Makefile.in AUTHORS cmd configure install-sh missing autogen.sh compile configure.ac lib NEWS autom4te.cache config.guess COPYING ltmain.sh README ChangeLog config.h.in depcomp Makefile.am usb.ids
If it is already installed, we'll have to look elsewhere. If it isn't installed and apt-get installs it, try again from ./autogen.sh.Code:sudo apt-get install libtool
- 07-25-2010 #7Just Joined!
- Join Date
- Jun 2010
- Posts
- 10
hey dan...
after tryin sudo apt-get install libtool, this is wot I get.... i get some missing files in the very end while compiling.
nidhin@ubuntu:~/Desktop/usbip-0.1.7/src$ sudo apt-get install libtool
[sudo] password for nidhin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libltdl-dev
Suggested packages:
libtool-doc gfortran fortran95-compiler gcj
The following NEW packages will be installed:
libltdl-dev libtool
0 upgraded, 2 newly installed, 0 to remove and 107 not upgraded.
Need to get 717kB of archives.
After this operation, 2,327kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Fetched 717kB in 1s (367kB/s)
Selecting previously deselected package libltdl-dev.
(Reading database ... 173245 files and directories currently installed.)
Unpacking libltdl-dev (from .../libltdl-dev_2.2.6b-2ubuntu1_i386.deb) ...
Selecting previously deselected package libtool.
Unpacking libtool (from .../libtool_2.2.6b-2ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Setting up libltdl-dev (2.2.6b-2ubuntu1) ...
Setting up libtool (2.2.6b-2ubuntu1) ...
nidhin@ubuntu:~/Desktop/usbip-0.1.7/src$ ./autogen.sh
+ autoreconf -i -f -v
^[[6~autoreconf2.50: Entering directory `.'
autoreconf2.50: configure.ac: not using Gettext
autoreconf2.50: running: aclocal --force
autoreconf2.50: configure.ac: tracing
autoreconf2.50: running: libtoolize --install --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf2.50: running: /usr/bin/autoconf --force
autoreconf2.50: running: /usr/bin/autoheader --force
autoreconf2.50: running: automake --add-missing --copy --force-missing
configure.ac:10: installing `./missing'
cmd/Makefile.am: installing `./depcomp'
autoreconf2.50: Leaving directory `.'
and after that I tried configuring again...and this is what I got.
nidhin@ubuntu:~/Desktop/usbip-0.1.7/src$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for bzero... yes
checking for memset... yes
checking for strchr... yes
checking for strerror... yes
checking for strstr... yes
checking for strtoul... yes
checking sysfs/libsysfs.h usability... no
checking sysfs/libsysfs.h presence... no
checking for sysfs/libsysfs.h... no
configure: error: Missing /usr/include/sysfs/libsysfs.h
nidhin@ubuntu:~/Desktop/usbip-0.1.7/src$
- 07-25-2010 #8Just Joined!
- Join Date
- Jun 2010
- Posts
- 10
can somebody please help me out with this situation??/
- 07-26-2010 #9
chemical1608, I'm trying to help you out with your situation but you must show some patience. Just because we are moderators does not mean we can be here to help all hours of the day and night.

The error is telling you that you need libsysfs. See if this gets you farther...
Then try ./configure again.Code:sudo apt-get install libsysfs-dev libglib2.0-dev
Last edited by Dapper Dan; 07-26-2010 at 02:51 AM.
- 07-26-2010 #10Just Joined!
- Join Date
- Jun 2010
- Posts
- 10
hey dan,
I am extremely sorry first of all... i am in a very critical situation here and my project deadline is fast approaching and my supervisor is holidaying in spain. I have to modify this program to fit to USB OVER ETHERNET!! . and I have no idea how to do it. I respect the fact that you are taking time of your schedule and helping me... thank you.. i really do mean it..
And secondly,
I typed the abv command and this is wot I got..
nidhin@ubuntu:~/Desktop/usbip-0.1.7/src$ sudo apt-get install libsysfs-dev libglib2.0-dev
[sudo] password for nidhin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
zlib1g-dev
Suggested packages:
libglib2.0-doc python-subunit
The following NEW packages will be installed:
libglib2.0-dev libsysfs-dev zlib1g-dev
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,320kB of archives.
After this operation, 5,190kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously deselected package zlib1g-dev.
(Reading database ... 195273 files and directories currently installed.)
Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.2.3.3.dfsg-15ubuntu1_i386.deb) ...
Selecting previously deselected package libglib2.0-dev.
Unpacking libglib2.0-dev (from .../libglib2.0-dev_2.24.1-0ubuntu1_i386.deb) ...
Selecting previously deselected package libsysfs-dev.
Unpacking libsysfs-dev (from .../libsysfs-dev_2.1.0-6_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 added doc-base file(s)...
Registering documents with scrollkeeper...
Setting up zlib1g-dev (1:1.2.3.3.dfsg-15ubuntu1) ...
Setting up libglib2.0-dev (2.24.1-0ubuntu1) ...
Setting up libsysfs-dev (2.1.0-6) ...
nidhin@ubuntu:~/Desktop/usbip-0.1.7/src$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for bzero... yes
checking for memset... yes
checking for strchr... yes
checking for strerror... yes
checking for strstr... yes
checking for strtoul... yes
checking sysfs/libsysfs.h usability... yes
checking sysfs/libsysfs.h presence... yes
checking for sysfs/libsysfs.h... yes
checking for sysfs_open_directory_list in -lsysfs... yes
checking whether to use the libwrap (TCP wrappers) library... (default)
checking for hosts_access in -lwrap... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating cmd/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands


Reply With Quote
