I cant install /usr/ports/x11/libXpm for /usr/ports/net-mgnt/zabbix2-frontend

Hayat hayatster at gmail.com
Thu Jan 9 21:25:34 UTC 2014


Hello Mr. X11

I have a question about the port */usr/ports/x11/libXpm. *I have problems
with installing it.
I actually want to install */usr/ports/net-mgnt/zabbix2-frontend* and this
needs php5 and this on the other hand works with
*/usr/ports/x11/libXpm.*
When I tried to install zabbix2-frontend I got a error message similiar to
the one I am sending you know. I am a newbie btw.
 -----------------------------------------------------------------------------------------------------------

Systeminformation

root at Server-13:/usr/ports/x11/libXpm # uname -a
FreeBSD Server-13 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26
22:50:31 UTC 2013     root at bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC
amd64
--------------------------------------------------------------------------------------------------------------

Problem

root at Server-13:/usr/ports/x11/libXpm # make clean
===>  Cleaning for libXpm-3.5.11

root at Server-13:/usr/ports/x11/libXpm # make deinstall
===>  Deinstalling for x11/libXpm
===>   libXpm not installed, skipping

root at Server-13:/usr/ports/x11/libXpm # make config
===> No options to configure

root at Server-13:/usr/ports/x11/libXpm # make install clean
===>  License MIT accepted by the user
===> Fetching all distfiles required by libXpm-3.5.11 for building
===>  Extracting for libXpm-3.5.11
=> SHA256 Checksum OK for xorg/lib/libXpm-3.5.11.tar.bz2.
===>  Patching for libXpm-3.5.11
===>   libXpm-3.5.11 depends on executable: pkgconf - found
===>   libXpm-3.5.11 depends on file:
/usr/local/libdata/pkgconfig/xextproto.pc - found
===>   libXpm-3.5.11 depends on file:
/usr/local/libdata/pkgconfig/xorg-macros.pc - found
===>   libXpm-3.5.11 depends on file:
/usr/local/libdata/pkgconfig/xproto.pc - found
===>   libXpm-3.5.11 depends on file: /usr/local/libdata/pkgconfig/x11.pc -
found
===>   libXpm-3.5.11 depends on file: /usr/local/libdata/pkgconfig/xext.pc
- found
===>   libXpm-3.5.11 depends on file: /usr/local/libdata/pkgconfig/xt.pc -
found
===>  Configuring for libXpm-3.5.11
configure: WARNING: unrecognized options: --enable-malloc0returnsnull
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... amd64-portbld-freebsd9.2
checking host system type... amd64-portbld-freebsd9.2
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert amd64-portbld-freebsd9.2 file names to
amd64-portbld-freebsd9.2 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd9.2 file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cpp
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC 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.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries...
yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd9.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for cc option to accept ISO C99... -std=gnu99
checking whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking pkg-config is at least version 0.9.0... yes
checking if cc -std=gnu99 supports -Werror=unknown-warning-option... no
checking if cc -std=gnu99 supports -Werror=unused-command-line-argument...
no
checking if cc -std=gnu99 supports -Wall... yes
checking if cc -std=gnu99 supports -Wpointer-arith... yes
checking if cc -std=gnu99 supports -Wmissing-declarations... yes
checking if cc -std=gnu99 supports -Wformat=2... yes
checking if cc -std=gnu99 supports -Wstrict-prototypes... yes
checking if cc -std=gnu99 supports -Wmissing-prototypes... yes
checking if cc -std=gnu99 supports -Wnested-externs... yes
checking if cc -std=gnu99 supports -Wbad-function-cast... yes
checking if cc -std=gnu99 supports -Wold-style-definition... yes
checking if cc -std=gnu99 supports -Wdeclaration-after-statement... yes
checking if cc -std=gnu99 supports -Wunused... yes
checking if cc -std=gnu99 supports -Wuninitialized... yes
checking if cc -std=gnu99 supports -Wshadow... yes
checking if cc -std=gnu99 supports -Wcast-qual... yes
checking if cc -std=gnu99 supports -Wmissing-noreturn... yes
checking if cc -std=gnu99 supports -Wmissing-format-attribute... yes
checking if cc -std=gnu99 supports -Wredundant-decls... yes
checking if cc -std=gnu99 supports -Werror=implicit... yes
checking if cc -std=gnu99 supports -Werror=nonnull... yes
checking if cc -std=gnu99 supports -Werror=init-self... yes
checking if cc -std=gnu99 supports -Werror=main... yes
checking if cc -std=gnu99 supports -Werror=missing-braces... yes
checking if cc -std=gnu99 supports -Werror=sequence-point... yes
checking if cc -std=gnu99 supports -Werror=return-type... yes
checking if cc -std=gnu99 supports -Werror=trigraphs... yes
checking if cc -std=gnu99 supports -Werror=array-bounds... no
checking if cc -std=gnu99 supports -Werror=write-strings... yes
checking if cc -std=gnu99 supports -Werror=address... yes
checking if cc -std=gnu99 supports -Werror=int-to-pointer-cast... yes
checking if cc -std=gnu99 supports -Werror=pointer-to-int-cast... yes
checking if cc -std=gnu99 supports -pedantic... yes
checking if cc -std=gnu99 supports -Werror... yes
checking if cc -std=gnu99 supports -Werror=attributes... yes
checking whether make supports nested variables... (cached) yes
checking for strlcat... (cached) yes
checking for XPM... yes
checking for SXPM... yes
checking for library containing gettext... no
checking where to install localized messages... nowhere
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating include/Makefile
config.status: creating man/Makefile
config.status: creating src/Makefile
config.status: creating sxpm/Makefile
config.status: creating cxpm/Makefile
config.status: creating xpm.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --enable-malloc0returnsnull
===>  Building for libXpm-3.5.11
/usr/bin/make  all-recursive
Making all in doc
Making all in include
Making all in man
  GEN      sxpm.1
  GEN      cxpm.1
Making all in src
  CC       Attrib.lo
  CC       CrBufFrI.lo
  CC       CrBufFrP.lo
  CC       CrDatFrI.lo
  CC       CrDatFrP.lo
  CC       CrIFrBuf.lo
  CC       CrIFrDat.lo
  CC       CrIFrP.lo
  CC       CrPFrBuf.lo
  CC       CrPFrDat.lo
  CC       CrPFrI.lo
  CC       Image.lo
  CC       Info.lo
  CC       RdFToBuf.lo
  CC       RdFToDat.lo
  CC       RdFToI.lo
  CC       RdFToP.lo
  CC       WrFFrBuf.lo
  CC       WrFFrDat.lo
  CC       WrFFrI.lo
  CC       WrFFrP.lo
  CC       create.lo
  CC       data.lo
  CC       hashtab.lo
  CC       misc.lo
misc.c: In function 'XpmGetErrorString':
misc.c:88: warning: return discards qualifiers from pointer target type
misc.c:90: warning: return discards qualifiers from pointer target type
misc.c:92: warning: return discards qualifiers from pointer target type
misc.c:94: warning: return discards qualifiers from pointer target type
misc.c:96: warning: return discards qualifiers from pointer target type
misc.c:98: warning: return discards qualifiers from pointer target type
misc.c:100: warning: return discards qualifiers from pointer target type
  CC       parse.lo
  CC       rgb.lo
  CC       scan.lo
  CCLD     libXpm.la
Making all in sxpm
  CC       sxpm.o
sxpm.c:40:28: error: X11/StringDefs.h: No such file or directory
sxpm.c:41:27: error: X11/Intrinsic.h: No such file or directory
sxpm.c:42:28: error: X11/IntrinsicP.h: No such file or directory
sxpm.c:43:23: error: X11/Shell.h: No such file or directory
sxpm.c:48:34: error: X11/extensions/shape.h: No such file or directory
In file included from sxpm.c:51:
../include/X11/xpm.h:76:24: error: X11/Xlib.h: No such file or directory
../include/X11/xpm.h:77:25: error: X11/Xutil.h: No such file or directory
In file included from sxpm.c:51:
../include/X11/xpm.h:142: error: expected ')' before '*' token
../include/X11/xpm.h:150: error: expected ')' before '*' token
../include/X11/xpm.h:161: error: expected specifier-qualifier-list before
'Visual'
../include/X11/xpm.h:292: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'extern'
../include/X11/xpm.h:299: error: expected ')' before '*' token
../include/X11/xpm.h:305: error: expected ')' before '*' token
../include/X11/xpm.h:312: error: expected ')' before '*' token
../include/X11/xpm.h:319: error: expected ')' before '*' token
../include/X11/xpm.h:325: error: expected ')' before '*' token
../include/X11/xpm.h:331: error: expected ')' before '*' token
../include/X11/xpm.h:337: error: expected ')' before '*' token
../include/X11/xpm.h:343: error: expected ')' before '*' token
../include/X11/xpm.h:349: error: expected ')' before '*' token
../include/X11/xpm.h:356: error: expected ')' before '*' token
../include/X11/xpm.h:362: error: expected ')' before '*' token
../include/X11/xpm.h:393: error: expected ')' before '*' token
../include/X11/xpm.h:400: error: expected ')' before '*' token
../include/X11/xpm.h:406: error: expected ')' before '*' token
../include/X11/xpm.h:412: error: expected ')' before '*' token
sxpm.c:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'static'
sxpm.c:110: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'colormap'
sxpm.c:112: warning: no previous prototype for 'Usage'
sxpm.c: In function 'Usage':
sxpm.c:112: error: expected declaration specifiers before '_X_NORETURN'
sxpm.c:114: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'_X_NORETURN'
sxpm.c:116: error: expected ')' before 'widget'
sxpm.c:125: error: expected specifier-qualifier-list before 'Pixmap'
sxpm.c:128: error: storage class specified for parameter 'XpmIcon'
sxpm.c:130: error: storage class specified for parameter 'command'
sxpm.c:131: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'topw'
sxpm.c:132: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'view'
sxpm.c:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'options'
sxpm.c:136: error: expected declaration specifiers before ';' token
sxpm.c:142: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'{' token
sxpm.c:576: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'{' token
sxpm.c:616: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'{' token
sxpm.c:672: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'{' token
sxpm.c:700: error: expected ')' before 'widget'
sxpm.c:722: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'{' token
sxpm.c:730: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'{' token
sxpm.c:747: error: old-style parameter declarations in prototyped function
definition
sxpm.c:747: error: expected '{' at end of input
*** [sxpm.o] Error code 1

Stop in /usr/ports/x11/libXpm/work/libXpm-3.5.11/sxpm.
*** [all-recursive] Error code 1

Stop in /usr/ports/x11/libXpm/work/libXpm-3.5.11.
*** [all] Error code 1

Stop in /usr/ports/x11/libXpm/work/libXpm-3.5.11.
*** [do-build] Error code 1

Stop in /usr/ports/x11/libXpm.
----------------------------------------------------------------------------------------------------------------

If you had any idea what went wrong that would be great.

Thank you very much.

kind regards

Hayat B. (Germany / Wiesbaden)


More information about the freebsd-x11 mailing list