Date: Thu, 13 May 1999 15:58:56 -0700 (PDT) From: eischen@vigrid.com To: freebsd-gnats-submit@freebsd.org Subject: ports/11700: DDD port seems broken Message-ID: <19990513225856.E6D1B15210@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 11700 >Category: ports >Synopsis: DDD port seems broken >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 13 16:00:02 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Daniel Eischen >Release: 3.2-BETA >Organization: >Environment: FreeBSD klr1.clc.gdeb.com 3.2-BETA FreeBSD 3.2-BETA #3: Tue May 11 19:06:08 EDT 1999 deischen@klr1.clc.gdeb.com:/opt/src/src/sys/compile/klr i386 >Description: The DDD port fails: bash-2.02$ make ===> Extracting for ddd-3.1.4 >How-To-Repeat: Do not build ddd static. cd /usr/ports/devel/ddd make >Fix: Perhaps stripping the -L from ${MOTIFLIB} before passing it to CONFIGURE_ARGS? >Release-Note: >Audit-Trail: >Unformatted: >> Checksum OK for ddd-3.1.4.tar.gz. ===> ddd-3.1.4 depends on executable: gmake - found ===> ddd-3.1.4 depends on shared library: Xpm.4 - found ===> ddd-3.1.4 depends on shared library: Xpm.4 - found ===> Patching for ddd-3.1.4 ===> Applying FreeBSD patches for ddd-3.1.4 ===> Configuring for ddd-3.1.4 creating cache ./config.cache checking host system type... i386--freebsd3.2 [ ... ] checking for Motif... libraries -L/usr/dt/lib -lXm -lXp -lXt -lXext, headers in default path checking for Athena... libraries /usr/X11R6/lib, headers in default path checking for Xpm... libraries /usr/X11R6/lib, headers in default path checking for XOpenDisplay in -lX11... no configure: error: The X11 library '-lX11' could not be found. Please use the configure options '--x-includes=DIR' and '--x-libraries=DIR' to specify the X location. See the files 'config.log' and 'ddd/config.log' for further diagnostics. configure: error: ./configure failed for ddd *** Error code 1 And from ddd/config.log: configure:6269: checking for XOpenDisplay in -lX11 configure:6291: c++ -o conftest -O -pipe -I/usr/X11R6/include -L-L/usr/dt/lib -lXm -lXp -lXt -lXext -L/usr/X11R6/lib conftest.C -lX11 -lSM -lICE 1>&5 ^^^^^^^^^^^^^^^ /usr/libexec/elf/ld: cannot open -lXm: No such file or directory configure: failed program was: #line 6277 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char XOpenDisplay(); int main() { XOpenDisplay() ; return 0; } I believe the problem is with the ports Makefile and CONFIGURE_ARGS which are set to: CONFIGURE_ARGS= --with-motif-libraries="${MOTIFLIB} -lXt -lXext" configure wants a directory (without the preceding -L) for the --with-motif-libraries option, whereas our /etc/make.conf or bsd.port.mk want to set MOTIFLIB to "-L<some-dir>/lib -lXm -lXp". To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990513225856.E6D1B15210>