ports/91310: Thare is a bug in the port's Makefile for rdesktop (rdesktop-1.4.1) due to which you can not install this port.
Oleg Pilyavets
fenicottero at gmail.com
Wed Jan 4 14:50:05 UTC 2006
>Number: 91310
>Category: ports
>Synopsis: Thare is a bug in the port's Makefile for rdesktop (rdesktop-1.4.1) due to which you can not install this port.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 04 14:50:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Oleg Pilyavets
>Release: 5.3-RELEASE-p8
>Organization:
Moscow Institute of Physics And Technology
>Environment:
FreeBSD spinor.triniti.nat 5.3-RELEASE-p8 FreeBSD 5.3-RELEASE-p8 #1: Thu Nov 10 21:32:09 MSK 2005 _ at spinor.triniti.nat:/usr/obj/usr/src/sys/MYKERNEL i386
>Description:
I install the port "rdesktop" on my maсhine.
A problem looks as follows:
17:19 root /usr/ports/net/rdesktop# make
===> Vulnerability check disabled, database not found
===> Extracting for rdesktop-1.4.1
=> MD5 Checksum OK for rdesktop-1.4.1.tar.gz.
===> Patching for rdesktop-1.4.1
===> Applying FreeBSD patches for rdesktop-1.4.1
===> rdesktop-1.4.1 depends on file: /usr/local/lib/libcrypto.so.4 - found
===> rdesktop-1.4.1 depends on executable: gmake - found
===> rdesktop-1.4.1 depends on shared library: X11.6 - found
===> Configuring for rdesktop-1.4.1
configure: WARNING: you should use --build, --host, --target
checking for i386-portbld-freebsd5.3-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
...............
checking iconv.h usability... no
checking iconv.h presence... no
checking for iconv.h... no
...............
cc -O -pipe -Wall -I/usr/local/include -I/usr/X11R6/include -DPACKAGE_NAME=\"rdesktop\" -DPACKAGE_TARNAME=\"rdesktop\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"rdesktop\ 1.4.1\" -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 -DHAVE_SYS_FILIO_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LANGINFO_H=1 -Dssldir=\"/usr/local\" -DEGD_SOCKET=\"/var/run/egd-pool\" -DWITH_RDPSND=1 -DHAVE_DIRENT_H=1 -DHAVE_DECL_DIRFD=1 -DHAVE_ICONV=1 -DICONV_CONST=const -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_MOUNT_H=1 -DSTAT_STATVFS=1 -DHAVE_STRUCT_STATVFS_F_NAMEMAX=1 -DKEYMAP_PATH=\"/usr/local/share/rdesktop/keymaps/\" -o rdp.o -c rdp.c
rdp.c: In function `rdp_out_unistr':
rdp.c:164: error: syntax error before "iconv_h"
rdp.c:171: error: `iconv_h' undeclared (first use in this function)
rdp.c:171: error: (Each undeclared identifier is reported only once
rdp.c:171: error: for each function it appears in.)
rdp.c:171: error: `iconv_t' undeclared (first use in this function)
rdp.c:174: warning: implicit declaration of function `iconv_open'
rdp.c:183: warning: implicit declaration of function `iconv'
rdp.c:186: warning: implicit declaration of function `iconv_close'
rdp.c: In function `rdp_in_unistr':
rdp.c:239: error: syntax error before "iconv_h"
rdp.c:243: error: `iconv_h' undeclared (first use in this function)
rdp.c:243: error: `iconv_t' undeclared (first use in this function)
gmake: *** [rdp.o] Error 1
*** Error code 2
Stop in /usr/ports/net/rdesktop.
17:20 root /usr/ports/net/rdesktop#
>How-To-Repeat:
You can try to install newest version of rdesktop (rdesktop-1.4.1) via port system on the system 5.3-RELEASE-p8 FreeBSD.
>Fix:
In a /usr/ports/net/rdesktop/Makefile after lines
MAKE_ENV= QTDIR=${QT_PREFIX} \
KDEDIR=${LOCALBASE} \
MOC=${MOC}
you should paste the following text:
CONFIGURE_ARGS= --with-extra-includes=${LOCALBASE}/include \
--with-extra-libs=${LOCALBASE}/lib
After that the port involved can be installed.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list