Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2002 10:51:38 -0500
From:      "Chuck Rock" <carock@epctech.com>
To:        <sobomax@FreeBSD.org>
Cc:        <ports@FreeBSD.org>
Subject:   FreeBSD Port: freetype2-2.1.2
Message-ID:  <JDEAIDLKPMMILNJHADGCGEBNHCAA.carock@epctech.com>

next in thread | raw e-mail | index | archive | help
make install error installing this on FreeBSD 4.2

Make went fine, then I did make install and this is what happened.

; do                               \
          install -c -o root -g wheel -m 444 $P
/usr/local/include/freetype2/freetype ; \
        done
"Makefile", line 26: Need an operator
"Makefile", line 28: Need an operator
"./builds/toplevel.mk", line 46: Need an operator
"./builds/toplevel.mk", line 48: Need an operator
"./builds/toplevel.mk", line 59: Missing dependency operator
"./builds/toplevel.mk", line 61: Need an operator
Error expanding embedded variable.
"Makefile", line 26: Need an operator
"Makefile", line 28: Need an operator
"./builds/toplevel.mk", line 46: Need an operator
"./builds/toplevel.mk", line 48: Need an operator
"./builds/toplevel.mk", line 59: Missing dependency operator
"./builds/toplevel.mk", line 61: Need an operator
Error expanding embedded variable.
"Makefile", line 26: Need an operator
"Makefile", line 28: Need an operator
"./builds/toplevel.mk", line 46: Need an operator
"./builds/toplevel.mk", line 48: Need an operator
"./builds/toplevel.mk", line 59: Missing dependency operator
"./builds/toplevel.mk", line 61: Need an operator
Error expanding embedded variable.
"Makefile", line 26: Need an operator
"Makefile", line 28: Need an operator
"./builds/toplevel.mk", line 46: Need an operator
"./builds/toplevel.mk", line 48: Need an operator
"./builds/toplevel.mk", line 59: Missing dependency operator
"./builds/toplevel.mk", line 61: Need an operator
Error expanding embedded variable.
"Makefile", line 26: Need an operator
"Makefile", line 28: Need an operator
"./builds/toplevel.mk", line 46: Need an operator
"./builds/toplevel.mk", line 48: Need an operator
"./builds/toplevel.mk", line 59: Missing dependency operator
"./builds/toplevel.mk", line 61: Need an operator
Error expanding embedded variable.

More of this and then....

Error expanding embedded variable.
gmake: [install] Error 2 (ignored)
for P in
/usr/ports/print/freetype2/work/freetype-2.1.2/include/freetype/internal/aut
ohint.h /usr/ports/print/freetype2/work/freetype-2.1.2/include/freetype/int

some of that, then...

types.h ; do                                          \
          install -c -o root -g wheel -m 444 $P
/usr/local/include/freetype2/freetype/internal ; \
        done
"Makefile", line 26: Need an operator
"Makefile", line 28: Need an operator
"./builds/toplevel.mk", line 46: Need an operator
"./builds/toplevel.mk", line 48: Need an operator
"./builds/toplevel.mk", line 59: Missing dependency operator
"./builds/toplevel.mk", line 61: Need an operator
Error expanding embedded variable.
"Makefile", line 26: Need an operator
"Makefile", line 28: Need an operator

--------------------------------------------------

Here's the gmake portion of the make command

===>  Extracting for freetype2-2.1.2
>> Checksum OK for freetype-2.1.2.tar.bz2.
===>   freetype2-2.1.2 depends on executable: bzip2 - found
===>   freetype2-2.1.2 depends on executable: gmake - found
===>   freetype2-2.1.2 depends on executable: libtool - found
===>  Patching for freetype2-2.1.2
===>  Applying FreeBSD patches for freetype2-2.1.2
===>  Configuring for freetype2-2.1.2
checking build system type... i386-unknown-freebsd4.2
checking host system type... i386-unknown-freebsd4.2
checking target system type... i386-unknown-freebsd4.2
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for rm... rm -f
checking for rmdir... rmdir
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking for cc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether munmap must be declared... no
checking for munmap's first parameter type... void *
checking for memcpy... yes
checking for memmove... yes
checking for ld used by GCC... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking for /usr/libexec/elf/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/libexec/elf/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd4.2 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking host system type... i386-unknown-freebsdelf4.2
checking for ranlib... ranlib
checking whether we are using GNU C... yes
checking for object suffix... o
checking for executable suffix... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions ... yes
checking if cc static flag -static works... -static
checking whether ln -s works... yes
checking for ld used by GCC... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking whether the linker (/usr/libexec/elf/ld) supports shared
libraries... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/libexec/elf/ld option to reload object files... -r
checking dynamic linker characteristics... freebsdelf4.2 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
configure: creating ./config.status
config.status: creating unix-cc.mk
config.status: creating unix-def.mk
config.status: creating freetype-config
config.status: creating ftconfig.h

FreeType build system -- automatic system detection

The following settings are used:

  platform                    unix
  compiler                    cc
  configuration directory     ./builds/unix
  configuration rules         ./builds/unix/unix.mk

If this does not correspond to your system or settings please remove the
file
`config.mk' from this directory then read the INSTALL file for help.

Otherwise, simply type `gmake' again to build the library.

===>  Building for freetype2-2.1.2
--- Builds the program ----

..End of the make and beginning of make install.....

 /usr/ports/print/freetype2/work/freetype-2.1.2/objs/type42.o
/usr/ports/print/freetype2/work/freetype-2.1.2/objs/winfnt.o
ranlib
/usr/ports/print/freetype2/work/freetype-2.1.2/objs/.libs/libfreetype.a
creating /usr/ports/print/freetype2/work/freetype-2.1.2/objs/libfreetype.la
(cd /usr/ports/print/freetype2/work/freetype-2.1.2/objs/.libs && rm -f
libfreetype.la && ln -sf ../libfreetype.la libfreetype.la)
kira(148):[/usr/ports/print/freetype2]-#make install
===>  Installing for freetype2-2.1.2
===>  Warning: your umask is "0027".
      If this is not desired, set it to an appropriate value
      and install this port again by ``make reinstall''.
/usr/ports/print/freetype2/work/freetype-2.1.2/builds/unix/mkinstalldirs
/usr/local/lib                                 \
                         /usr/local/include/freetype2/freetype/config   \
                         /usr/local/include/freetype2/freetype/internal \
                         /usr/local/include/freetype2/freetype/cache    \
                         /usr/local/bin                                 \
                         /usr/local/share/aclocal
/usr/ports/print/freetype2/work/freetype-2.1.2/builds/unix/libtool --mode=in
stall /usr/bin/install -c -o root -g wheel
/usr/ports/print/freetype2/work/freetype-2.1.2/objs/libfreetype.la
/usr/local/lib
/usr/bin/install -c -o root -g wheel
/usr/ports/print/freetype2/work/freetype-2.1.2/objs/.libs/libfreetype.so.9
/usr/local/lib/libfreetype.so.9
(cd /usr/local/lib && rm -f libfreetype.so && ln -sf libfreetype.so.9
libfreetype.so)
/usr/bin/install -c -o root -g wheel
/usr/ports/print/freetype2/work/freetype-2.1.2/objs/.libs/libfreetype.a
/usr/local/lib/libfreetype.a
ranlib /usr/local/lib/libfreetype.a
chmod 644 /usr/local/lib/libfreetype.a
/usr/bin/env OBJFORMAT="elf" /sbin/ldconfig -m /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
for P in
/usr/ports/print/freetype2/work/freetype-2.1.2/include/freetype/freetype.h
/usr/ports/print/freetype2/work/freetype-2.1.2/include/freetype/ftbbox.h /us

LEt me know if it's something I'm doing stupid. I ftp'd the latest port
files from FreeBSD into the /usr/ports/print/freetype2/ directory.

Thanks,
Chuck Rock


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?JDEAIDLKPMMILNJHADGCGEBNHCAA.carock>