Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 1997 13:28:31 -0400 (EDT)
From:      Matthew Hunt <mph@pobox.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/3274: mars fails to build if "." not in PATH
Message-ID:  <199704131728.NAA09743@wopr.ml.org>
Resent-Message-ID: <199704131730.KAA15166@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3274
>Category:       ports
>Synopsis:       mars fails to build if "." not in PATH
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 13 10:30:01 PDT 1997
>Last-Modified:
>Originator:     Matthew Hunt
>Organization:
Very little.
>Release:        FreeBSD 2.2-STABLE i386
>Environment:

FreeBSD 2.2-STABLE, building with X11R6 but without Motif.

PATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/teTeX/bin

>Description:

ar: creating archive .././lib/libMaRSComps.a
ranlib .././lib/libMaRSComps.a
make_stat_headers gcc gcc -O  -DBSD -DMEMPOOL -DINLINE -I./include -I/usr/X11R6/include > ../include/stat.h
make_stat_headers: not found
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.


>How-To-Repeat:

cd /usr/ports/cad/mars
make

>Fix:

Flog developers who work with "." in $PATH?  Besides that, apply
the following additional Makefile patch, relative to cad/mars/work:
	
--- sim/Makefile.orig	Sun Apr 13 13:24:49 1997
+++ sim/Makefile	Sun Apr 13 13:24:59 1997
@@ -19,7 +19,7 @@
 	ranlib $(MARSDIR)/lib/libMaRSSim.a
 
 stat: 
-	make_stat_headers $(CC) $(CC) $(CFLAGS) > ../include/stat.h
+	./make_stat_headers $(CC) $(CC) $(CFLAGS) > ../include/stat.h
 	$(CC) $(CFLAGS) -c stat.c
 
 lint:


>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704131728.NAA09743>