Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2002 21:50:46 +0200
From:      Volker Kindermann <freebsd@secspace.de>
To:        freebsd-questions@freebsd.org
Cc:        gnome@freebsd.org
Subject:   Can't install mozilla any longer
Message-ID:  <20021023215046.2bfcd094.freebsd@secspace.de>

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

first my uname:

-su-2.05b# uname -a
FreeBSD astarte.volker.de 4.7-STABLE FreeBSD 4.7-STABLE #0: Tue Oct 22
12:39:39 CEST 2002    
root@astarte.volker.de:/usr/obj/usr/src/sys/GENERIC  i386


With the latest versions of the mozilla port (and mozilla-devel) I
encounter a problem while trying to "make install". The last lines say:

===>  Installing for mozilla-1.2b_1,1
===>   mozilla-1.2b_1,1 depends on shared library: jpeg.9 - found
===>   mozilla-1.2b_1,1 depends on shared library: png.5 - found
===>   mozilla-1.2b_1,1 depends on shared library: mng.1 - found
===>   mozilla-1.2b_1,1 depends on shared library: freetype.9 - found
===>   mozilla-1.2b_1,1 depends on shared library: Xft2.2 - found
===>   mozilla-1.2b_1,1 depends on shared library: X11.6 - found
===>   mozilla-1.2b_1,1 depends on shared library: glib12.3 - found
===>   mozilla-1.2b_1,1 depends on shared library: gtk12.2 - found
===>   mozilla-1.2b_1,1 depends on shared library: ORBit.2 - found
/usr/bin/touch -f /usr/ports/www/mozilla-devel/work/pkg-plist
if [ ! -x /usr/X11R6/bin/mozilla -a ! -L /usr/X11R6/bin/mozilla ]; then
Syntax error: end of file unexpected (expecting "fi")
*** Error code 2

Stop in /usr/ports/www/mozilla-devel.


IMO, the problem is the "preinstall" section of the Makefile:
pre-install:
        ${TOUCH} -f ${PLIST}
        if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozilla ];
then
            ${ECHO_CMD} bin/mozilla >> ${PLIST}
        fi
        ${ECHO_CMD} bin/mozilla-devel >> ${PLIST}
        if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]
then
            ${ECHO_CMD} lib/browser_plugins/libjavaplugin_oji.so >>
${PLIST};
        fi
        cd ${WRKSRC}/dist/bin && ${FIND} -s * -type f -o -type l | \
                ${SED} -e 's:^:lib/mozilla-devel/:' >> ${PLIST} \
                && ${FIND} -d * -type d | \
                ${SED} -e 's:^:@dirrm lib/mozilla-devel/:' >> ${PLIST}
        ${ECHO_CMD} @dirrm lib/mozilla-devel >> ${PLIST}



Has anybody the same problem or perhaps a solution?

Thank you very much 

 -volker



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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