Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2004 22:21:06 +0200 (CEST)
From:      Nicolas Rachinsky <nr@rachinsky.de>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        marcus@freebsd.org
Subject:   www/mozilla does not install
Message-ID:  <200410122021.i9CKL6tg083056@pc5.i.0x5.de>

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

>Submitter-Id:	current-users
>Originator:	Nicolas Rachinsky
>Organization:	
>Confidential:	no 
>Synopsis:	www/mozilla does not install
>Severity:	serious
>Priority:	high
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 4.10-RELEASE-p2 i386
>Environment:
System: FreeBSD pc5.i.0x5.de 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0: Fri Jul 2 09:03:30 CEST 2004 nicolas@pc5.i.0x5.de:/scratch/obj/usr/exported/src/sys/PC5 i386


	
>Description:
The installation of www/mozilla fails:
# make install
[...]
===>  Checking if www/mozilla already installed
/bin/mkdir -p /usr/X11R6/lib/mozilla
/bin/chmod 755 /usr/X11R6/lib/mozilla
install -c -o root -g wheel -m 555 /scratch/ports/usr/exported/ports/www/mozilla/work/fake/lib/mozilla /usr/X11R6/lib/mozilla
install: /scratch/ports/usr/exported/ports/www/mozilla/work/fake/lib/mozilla: Inappropriate file type or format
*** Error code 71

Stop in /usr/exported/ports/www/mozilla.
#

# ll -d /scratch/ports/usr/exported/ports/www/mozilla/work/fake/lib/mozilla
drwxr-xr-x  11 root  wheel  1024 Oct 12 22:14 /scratch/ports/usr/exported/ports/www/mozilla/work/fake/lib/mozilla/



>How-To-Repeat:

cd /usr/ports/www/mozilla
make install

>Fix:


Index: Makefile
===================================================================
RCS file: /usr/cvs-freebsd/ports/www/mozilla/Makefile,v
retrieving revision 1.172
diff -u -r1.172 Makefile
--- Makefile	12 Oct 2004 16:45:45 -0000	1.172
+++ Makefile	12 Oct 2004 20:18:00 -0000
@@ -308,8 +308,8 @@
 do-install:
 	${MKDIR} ${PREFIX}/lib/${MOZILLA}
 	${CHMOD} 755 ${PREFIX}/lib/${MOZILLA}
-	${INSTALL_SCRIPT} ${FAKEDIR}/lib/mozilla ${PREFIX}/lib/${MOZILLA}
-	${INSTALL_SCRIPT} ${FAKEDIR}/lib/mozilla-config ${PREFIX}/lib/${MOZILLA}
+	${INSTALL_SCRIPT} ${FAKEDIR}/bin/mozilla ${PREFIX}/lib/${MOZILLA}
+	${INSTALL_SCRIPT} ${FAKEDIR}/bin/mozilla-config ${PREFIX}/lib/${MOZILLA}
 	${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|g' \
 		${PREFIX}/lib/${MOZILLA}/mozilla \
 		${PREFIX}/lib/${MOZILLA}/mozilla-config



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