X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Message-ID: <53BEF207.5080002@gmx.de> Date: Thu, 10 Jul 2014 22:05:27 +0200 From: Juan Manuel Guerrero User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: no acceptable SED found in $path References: <8042cce1-49e0-4236-8056-6da2e434ba1d AT googlegroups DOT com> In-Reply-To: <8042cce1-49e0-4236-8056-6da2e434ba1d@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:p+FDdv5Q3FEcJSMVGyRlsPYabSj3FYtAsUlckWQC6VEyKzGRppf 0qrmsviq9C8mUh7vEdr3G++UXlYsLeJUeyEdJ/SulRxtUSOHAGSRLCu47YjG8n//atBZ6+D 0wgd0sktDzx0gQHl3vEzPJF9PtTG7axQ9unKqrwpTiqf3yl6fnKv2KSdB4t7zv/tJmpB2vU t5BLgJQLXFWDZ+/BLjV7Q== Reply-To: djgpp AT delorie DOT com Am 10.07.2014 13:49, schrieb iw2evk AT gmail DOT com: > Hi all, > > ,many times i receive this error during configure : > > seeking for a sed does not truncate output: > no acceptable sed found in $path. > > How i can patch this error? > > Manythanks > > Roberto OFYI, I have downloaded libmtp-1.1.6.tar.gz and installed it. I cd'ed into the libmtp-1.1.6 directory and created an arbitrary build directory there. Then I cd'ed into that build directory. I am using a stock DJGPP 2.04 installation on WinXP SP3 installed in c:/djgpp-2.04. I experienced absolute no difficulty in trying to configure the package. Of course, I did not succeed because other required libraries are not available and I have very serious doubts that it may be possible to port them to DOS using DJGPP. It should also be noted that I have no other installation than DJGPP. This means there is no cygwin nor mingw installation in the path so there is no risk that the wrong sed program is called by the configure script. To check what sed program is available I called it like this: sed --version and I got the following output: G:\l\LIBMTP~1.6\_build>sed --version c:/djgpp-2.04/bin/sed (GNU sed) 4.2.2 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Jay Fenlason, Tom Lord, Ken Pizzini, and Paolo Bonzini. GNU sed home page: . General help using GNU software: . E-mail bug reports to: . Be sure to include the word ``sed'' somewhere in the ``Subject:'' field. If you do not get a sed output similar like the above something is seriously broken with your DJGPP installation. To configure the sources I cd'ed into the build directory and started like this: sh ../configure I got the following output: configure: loading site script c:/djgpp-2.04/share/config.site checking for a BSD-compatible install... /dev/env/DJDIR/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /dev/env/DJDIR/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes 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... .exe 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 for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether ln -s works... yes checking build system type... i786-pc-msdosdjgpp checking host system type... i786-pc-msdosdjgpp checking how to print strings... printf checking for a sed that does not truncate output... /dev/env/DJDIR/bin/sed checking for grep that handles long lines and -e... /dev/env/DJDIR/bin/grep checking for egrep... /dev/env/DJDIR/bin/grep -E checking for fgrep... /dev/env/DJDIR/bin/grep -F checking for ld used by gcc... c:/djgpp-2.04/bin/ld.exe checking if the linker (c:/djgpp-2.04/bin/ld.exe) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /dev/env/DJDIR/bin/nm -B checking the name lister (/dev/env/DJDIR/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... (cached) 12288 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert i786-pc-msdosdjgpp file names to i786-pc-msdosdjgpp format... func_convert_file_noop checking how to convert i786-pc-msdosdjgpp file names to toolchain format... func_convert_file_noop checking for c:/djgpp-2.04/bin/ld.exe option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... unknown checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /dev/env/DJDIR/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no 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... 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 (c:/djgpp-2.04/bin/ld.exe) supports shared libraries... no checking dynamic linker characteristics... no checking how to hardcode library paths into programs... unsupported checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... no checking whether to build shared libraries... no checking whether to build static libraries... yes checking for ld used by GCC... c:/djgpp-2.04/bin/ld.exe checking if the linker (c:/djgpp-2.04/bin/ld.exe) is GNU ld... yes checking for shared library run path origin... done checking for iconv... no, consider installing GNU libiconv configure: API documentation will not be generated checking if the host operating system is Darwin... no checking if the host operating system is Linux... no checking For MinGW32... no checking for pkg-config... no checking for LIBUSB... no checking for openusb_init in -lopenusb... no checking for LIBUSB... no checking for usb_open in -lusb... no configure: error: *** libusb not found! (missing -dev/-devel package?) ***\n*** prefer to install libusb-1 if you can! *** As told before I have serious doubts that this can be ported to DOS. The very first thing would be to get the source package of lopenusb and to port them to DOS using DJGPP. I do not even know if there is something like a open source USB driver for DOS. That would be necessary to know how to port the posix USB calls in the lopenusb library to DOS equivalent DOS USB calls. All this would be a major project if possible at all. Regards, Juan M. Guerrero