Re: [gembud] [PATCH] OpenMotif patch to fix garp/nmap2 segfaults on Fedora/Ubuntu

  • To: Arthur Haas <ahaas@xxxxxxxxxxxxxxxxx>
  • Subject: Re: [gembud] [PATCH] OpenMotif patch to fix garp/nmap2 segfaults on Fedora/Ubuntu
  • From: Brian Bernard <brianbernard@xxxxxxx>
  • Date: Mon, 14 Nov 2011 10:08:09 -0500
Hi Art,

I checked my system for the development packages that you mentioned and they were already installed on my system. It seems that Openmotif's configure can't find the location of X.h, freetype.h and Xrender.h, all of which are on my system. That's why I was wondering if their were any flags that have to be passed to Openmotif's configure.

I've enclosed a log of the results of running configure.

Brian Bernard


On 11/14/2011 9:38 AM, Arthur Haas wrote:
On a Fedora 16 box, here's the filename->package matchup:

X.h ->  xorg-x11-proto-devel
freetype2.h ->  freetype-devel

You'll likely need numerous other '-devel' packages, such as 'libX11-devel', 
'libXt-devel', 'libXtst-devel', etc.

Art Haas

-----Original Message-----
From: Brian Bernard [mailto:brianbernard@xxxxxxx]
Sent: Monday, November 14, 2011 8:04 AM
To: Arthur Haas
Cc: gembud@xxxxxxxxxxxxxxxx
Subject: Re: [gembud] [PATCH] OpenMotif patch to fix garp/nmap2 segfaults on 
Fedora/Ubuntu

Hello,

I recently updated my 64-bit machine to Fedora 16 and have run into a
couple of problems.

The patches that Art Haas submitted were applied to the Openmotif source
code and successfully patched, but I have errors during configure where
X.h and freetype.h is not found. Anyone know what flags have to be
passed to configure in order for X.h and freetype.h to be found.

Brian Bernard



checking for /usr/X/include/X11/X.h... yes
checking for /usr/X11R6/include/X11/X.h... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... 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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
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 ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux 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 byacc... byacc
checking for splint... splint
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether libXt was compiled with -DXTHREADS... yes
checking X11/Xos_r.h usability... yes
checking X11/Xos_r.h presence... yes
checking for X11/Xos_r.h... yes
checking X11/Xpoll.h usability... yes
checking X11/Xpoll.h presence... yes
checking for X11/Xpoll.h... yes
checking for X11/Xmu/Editres.h... yes
checking for _XEditResCheckMessages in -lXmu... yes
checking for XmuNCopyISOLatin1Lowered  in -lXmu... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/malloc.h usability... no
checking sys/malloc.h presence... no
checking for sys/malloc.h... no
checking for strings.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for X11/Xos_r.h... (cached) yes
checking for X11/Xpoll.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for working memcmp... yes
checking whether setpgrp takes no argument... yes
checking return type of signal handlers... void
checking for working strcoll... yes
checking for strftime... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking whether sprintf returns void... yes
checking for wcslen... yes
checking for wcscpy... yes
checking for wcsncpy... yes
checking for wcschr... yes
checking for wcscat... yes
checking for wcsncat... yes
checking for getcwd... yes
checking for gettimeofday... yes
checking for mkdir... yes
checking for re_comp... yes
checking for regcmp... no
checking for select... yes
checking for strcspn... yes
checking for strerror... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for uname... yes
checking for strdup... yes
checking for strcasecmp... yes
checking for putenv... yes
checking for regcomp... yes
checking for memmove... yes
checking for library containing iconv_open... none required
checking for libXp... checking X11/extensions/Print.h usability... yes
checking X11/extensions/Print.h presence... yes
checking for X11/extensions/Print.h... yes
checking for XpCreateContext in -lXp... yes
checking for freetype-config... freetype-config
checking freetype/freetype.h usability... no
checking freetype/freetype.h presence... no
checking for freetype/freetype.h... no
checking X11/extensions/Xrender.h usability... no
checking X11/extensions/Xrender.h presence... no
checking for X11/extensions/Xrender.h... no
checking for fontconfig-config... no
checking fontconfig/fontconfig.h usability... yes
checking fontconfig/fontconfig.h presence... yes
checking for fontconfig/fontconfig.h... yes
checking for FcInit... no
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_start_decompress... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_create_read_struct... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bindings/Makefile
config.status: creating bitmaps/Makefile
config.status: creating clients/Makefile
config.status: creating clients/mwm/Makefile
config.status: creating clients/mwm/WmWsmLib/Makefile
config.status: creating clients/uil/Makefile
config.status: creating clients/xmbind/Makefile
config.status: creating config/Makefile
config.status: creating config/cf/Makefile
config.status: creating config/imake/Makefile
config.status: creating config/util/Makefile
config.status: creating config/makedepend/Makefile
config.status: creating include/Makefile
config.status: creating include/Dt/Makefile
config.status: creating lib/Makefile
config.status: creating lib/Xm/Makefile
config.status: creating lib/Mrm/Makefile
config.status: creating localized/Makefile
config.status: creating localized/util/Makefile
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/man/man1/Makefile
config.status: creating doc/man/man3/Makefile
config.status: creating doc/man/man4/Makefile
config.status: creating doc/man/man5/Makefile
config.status: creating tools/Makefile
config.status: creating tools/wml/Makefile
config.status: creating demos/Makefile
config.status: creating demos/lib/Makefile
config.status: creating demos/lib/Xmd/Makefile
config.status: creating demos/lib/Wsm/Makefile
config.status: creating demos/lib/Exm/Makefile
config.status: creating demos/lib/Exm/wml/Makefile
config.status: creating demos/programs/Makefile
config.status: creating demos/programs/Exm/Makefile
config.status: creating demos/programs/Exm/app_in_c/Makefile
config.status: creating demos/programs/Exm/app_in_uil/Makefile
config.status: creating demos/programs/Exm/simple_app/Makefile
config.status: creating demos/programs/airport/Makefile
config.status: creating demos/programs/animate/Makefile
config.status: creating demos/programs/drag_and_drop/Makefile
config.status: creating demos/programs/draw/Makefile
config.status: creating demos/programs/earth/Makefile
config.status: creating demos/programs/filemanager/Makefile
config.status: creating demos/programs/fileview/Makefile
config.status: creating demos/programs/getsubres/Makefile
config.status: creating demos/programs/hellomotif/Makefile
config.status: creating demos/programs/hellomotifi18n/Makefile
config.status: creating demos/programs/hellomotifi18n/C/Makefile
config.status: creating demos/programs/hellomotifi18n/C/uid/Makefile
config.status: creating demos/programs/hellomotifi18n/english/Makefile
config.status: creating demos/programs/hellomotifi18n/english/uid/Makefile
config.status: creating demos/programs/hellomotifi18n/french/Makefile
config.status: creating demos/programs/hellomotifi18n/french/uid/Makefile
config.status: creating demos/programs/hellomotifi18n/hebrew/Makefile
config.status: creating demos/programs/hellomotifi18n/hebrew/uid/Makefile
config.status: creating demos/programs/hellomotifi18n/japan/Makefile
config.status: creating demos/programs/hellomotifi18n/japan/uid/Makefile
config.status: creating demos/programs/hellomotifi18n/japanese/Makefile
config.status: creating demos/programs/hellomotifi18n/japanese/uid/Makefile
config.status: creating demos/programs/hellomotifi18n/swedish/Makefile
config.status: creating demos/programs/hellomotifi18n/swedish/uid/Makefile
config.status: creating demos/programs/i18ninput/Makefile
config.status: creating demos/programs/panner/Makefile
config.status: creating demos/programs/periodic/Makefile
config.status: creating demos/programs/piano/Makefile
config.status: creating demos/programs/popups/Makefile
config.status: creating demos/programs/sampler2_0/Makefile
config.status: creating demos/programs/setdate/Makefile
config.status: creating demos/programs/todo/Makefile
config.status: creating demos/programs/workspace/Makefile
config.status: creating demos/programs/tooltips/Makefile
config.status: creating demos/programs/FontSel/Makefile
config.status: creating demos/programs/ButtonBox/Makefile
config.status: creating demos/programs/ColorSel/Makefile
config.status: creating demos/programs/Column/Makefile
config.status: creating demos/programs/Combo2/Makefile
config.status: creating demos/programs/Ext18List/Makefile
config.status: creating demos/programs/Ext18List/pixmaps/Makefile
config.status: creating demos/programs/IconB/Makefile
config.status: creating demos/programs/Outline/Makefile
config.status: creating demos/programs/Paned/Makefile
config.status: creating demos/programs/TabStack/Makefile
config.status: creating demos/programs/Tree/Makefile
config.status: creating demos/programs/pixmaps/Makefile
config.status: creating demos/unsupported/Makefile
config.status: creating demos/unsupported/Exm/Makefile
config.status: creating demos/unsupported/aicon/Makefile
config.status: creating demos/unsupported/dainput/Makefile
config.status: creating demos/unsupported/dogs/Makefile
config.status: creating demos/unsupported/hellomotif/Makefile
config.status: creating demos/unsupported/motifshell/Makefile
config.status: creating demos/unsupported/uilsymdump/Makefile
config.status: creating demos/unsupported/xmapdef/Makefile
config.status: creating demos/unsupported/xmfonts/Makefile
config.status: creating demos/unsupported/xmforc/Makefile
config.status: creating demos/unsupported/xmform/Makefile
config.status: creating demos/doc/Makefile
config.status: creating demos/doc/programGuide/Makefile
config.status: creating demos/doc/programGuide/ch05/Makefile
config.status: creating demos/doc/programGuide/ch05/Scale/Makefile
config.status: creating demos/doc/programGuide/ch06/Makefile
config.status: creating demos/doc/programGuide/ch06/spin_box/Makefile
config.status: creating demos/doc/programGuide/ch06/combo_box/Makefile
config.status: creating demos/doc/programGuide/ch08/Makefile
config.status: creating demos/doc/programGuide/ch08/Notebook/Makefile
config.status: creating demos/doc/programGuide/ch08/Container/Makefile
config.status: creating demos/doc/programGuide/ch16/Makefile
config.status: creating demos/doc/programGuide/ch17/Makefile
config.status: creating demos/doc/programGuide/ch17/simple_drop/Makefile
config.status: creating demos/doc/programGuide/ch17/simple_drag/Makefile
config.status: creating lib/Xm/xmstring.list
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: creating lib/Xm/Xm.h
config.status: lib/Xm/Xm.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the gembud archives: