Greetings!
so, I built and used rdesktop with cygwin for a long time, but I had to rebuild my laptop and now I was trying to build rdesktop with cygwin and on the
make install
command, an extra / has been added to the path. Here is the error:
<error> jic 17:03:08-> make install mkdir -p //usr/local/bin /usr/bin/install -c rdesktop //usr/local/bin /usr/bin/install: cannot create regular file `//usr/local/bin.exe': No such host or network path make: *** [installbin] Error 1 </error>
however, the configure and the make both ran fine. Here is the configure run:
jic 17:01:02-> pwd /home/us319318/apps/rdesktop-1.4.0 jic 17:01:27-> ./configure --with-x checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe 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 ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking whether byte ordering is bigendian... no checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for library containing socket... none required checking for library containing inet_aton... none required 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 sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/modem.h usability... no checking sys/modem.h presence... no checking for sys/modem.h... no checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/strtio.h usability... no checking sys/strtio.h presence... no checking for sys/strtio.h... no checking for OpenSSL directory... /usr checking if architecture needs alignment... no checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking dmedia/audio.h usability... no checking dmedia/audio.h presence... no checking for dmedia/audio.h... no checking sys/audioio.h usability... no checking sys/audioio.h presence... no checking for sys/audioio.h... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for dirfd... yes checking whether dirfd is declared... yes checking whether dirfd is a macro... no checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin configure: creating ./config.status config.status: creating Makefile
Here is the beginning and end of the make:
jic 17:02:08-> make
gcc -g -O2 -Wall -I/usr/include -I/usr/X11R6/include -DPACKAGE_NAME=\"rdesktop\" -DPACKAGE_TARNAME=\"rdesktop\" -DPACKAGE_VERSION=\"1.4.0\" -DPACKAGE_STRING=\"rdesktop\
1.4.0\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DL_ENDIAN=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -Dssldir=\"/usr\" -DEGD_SOCKET=\"/var/run/egd-pool\" -DWITH_RDPSND=1 -DHAVE_DIRENT_H=1 -DHAVE_DIRFD=1 -DHAVE_DECL_DIRFD=1 -DKEYMAP_PATH=\"/usr/local/share/rdesktop/keymaps/\" -o rdesktop.o -c rdesktop.c
...
...
...
gcc -g -O2 -Wall -I/usr/include -I/usr/X11R6/include -DPACKAGE_NAME=\"rdesktop\" -DPACKAGE_TARNAME=\"rdesktop\" -DPACKAGE_VERSION=\"1.4.0\" -DPACKAGE_STRING=\"rdesktop\
1.4.0\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DL_ENDIAN=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -Dssldir=\"/usr\" -DEGD_SOCKET=\"/var/run/egd-pool\" -DWITH_RDPSND=1 -DHAVE_DIRENT_H=1 -DHAVE_DIRFD=1 -DHAVE_DECL_DIRFD=1 -DKEYMAP_PATH=\"/usr/local/share/rdesktop/keymaps/\" -o rdesktop rdesktop.o xwin.o xkeymap.o ewmhints.o xclip.o cliprdr.o rdpsnd.o rdpsnd_oss.o tcp.o iso.o mcs.o secure.o licence.o rdp.o orders.o bitmap.o cache.o rdp5.o channels.o rdpdr.o serial.o printer.o disk.o parallel.o printercache.o mppc.o stcache.o -L/usr/lib -lcrypto -L
/usr/X11R6/lib -lX11
So, the question is, why is the extra / being added to the path making it //usr/local/bin which is not going to be found. I have downloaded the rdesktop 1.4.0 and the latest cygwin patches and still the same problem. I also tried rdesktop 1.3.1 and same problem occurred.
Any help would be greatly appreciated.
jos�
PS:by the way, I have built rdesktop before with cygwin. Thanks again.
