Opened 18 years ago

Closed 18 years ago

#5897 closed defect (fixed)

UPDATE: openmotif to 2.3.0

Reported by: mww@… Owned by: yves@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: jmpp@…, cssdev@…, ben@…
Port:

Description

attached comes a Portfile for openmotif 2.3.0; the prefix is now the real prefix as it seems (at least to me) that this version works flawless this way. I also tested nedit which needed only a minor fix; 'hellomotif' won't work due to not finding it's "hellomotif.uid".

I'd like this update to be confirmed by someone more familiar with the pitches of openmotif!

Attachments (3)

Portfile.new (973 bytes) - added by mww@… 18 years ago.
x11/openmotif/Portfile
patch-Portfile (1.5 KB) - added by mww@… 18 years ago.
patch for x11/openmotif/Portfile
Portfile (1.0 KB) - added by mww@… 18 years ago.
x11/openmotif/Portfile

Download all attachments as: .zip

Change History (18)

Changed 18 years ago by mww@…

Attachment: Portfile.new added

x11/openmotif/Portfile

Changed 18 years ago by mww@…

Attachment: patch-Portfile added

patch for x11/openmotif/Portfile

comment:1 Changed 18 years ago by yves@…

the distfile is

openmotif-2.3.0beta1-src.tar.gz

comment:2 Changed 18 years ago by yves@…

More precisely

distfiles ${name}-${version}beta1-src${extract.suffix}

checksums md5 94ad0db66c354670a7b647979d883016

Changed 18 years ago by mww@…

Attachment: Portfile added

x11/openmotif/Portfile

comment:3 Changed 18 years ago by mww@…

attachments.isobsolete: 01

comment:4 Changed 18 years ago by yves@…

Ok, I got some spare time ...

ddd uilt and seems to run without a glitch

xpdf needs proper configure.args but I found (actually the merit goes to xpdf's configure) that the is no Sgm lib or include in my openmotif installation

Am I the only one ?

comment:5 Changed 18 years ago by yves@…

however, xpdf builds and seem to run fine too (and looks great !!) without Sgm, which is only needed for SGI and older versions of Motif

just wave a flag when yu commit so I'll commit the Portfile with appropriate configure.args

thanks

comment:6 Changed 18 years ago by mww@…

I'd just say: go ahead & commit both, xpdf & openmotif (aka this patch)!

comment:7 Changed 18 years ago by yves@…

changes commited, I just added configue.env-append in darwin 8 section for a cleaner configure

thanks !

comment:8 Changed 18 years ago by cssdev@…

Suits me for putting this off until this past weekend... my build failed:

$ sudo port build openmotif ---> Fetching fontconfig ---> Attempting to fetch fontconfig-2.3.2.tar.gz from http://fontconfig.org/release/ ---> Verifying checksum(s) for fontconfig ---> Extracting fontconfig ---> Configuring fontconfig ---> Building fontconfig with target all ---> Staging fontconfig into destroot ---> Packaging tgz archive for fontconfig 2.3.2_0 ---> Installing fontconfig 2.3.2_0 ---> Activating fontconfig 2.3.2_0 ---> Cleaning fontconfig ---> Fetching pkgconfig ---> Attempting to fetch pkg-config-0.20.tar.gz from http://pkgconfig.freedesktop.org/releases/ ---> Verifying checksum(s) for pkgconfig ---> Extracting pkgconfig ---> Configuring pkgconfig ---> Building pkgconfig with target all ---> Staging pkgconfig into destroot ---> Packaging tgz archive for pkgconfig 0.20_0 ---> Installing pkgconfig 0.20_0 ---> Activating pkgconfig 0.20_0 ---> Cleaning pkgconfig ---> Fetching render ---> Attempting to fetch renderext-0.9.tar.bz2 from http://xlibs.freedesktop.org/release/ ---> Verifying checksum(s) for render ---> Extracting render ---> Configuring render ---> Building render with target all ---> Staging render into destroot ---> Packaging tgz archive for render 0.9_0 ---> Installing render 0.9_0 ---> Activating render 0.9_0 ---> Cleaning render ---> Fetching xrender ---> Attempting to fetch libXrender-0.9.0.tar.bz2 from http://xlibs.freedesktop.org/release/ ---> Verifying checksum(s) for xrender ---> Extracting xrender ---> Configuring xrender ---> Building xrender with target all ---> Staging xrender into destroot ---> Packaging tgz archive for xrender 0.9.0_0 ---> Installing xrender 0.9.0_0 ---> Activating xrender 0.9.0_0 ---> Cleaning xrender ---> Fetching Xft2 ---> Attempting to fetch libXft-2.1.7.tar.bz2 from http://xlibs.freedesktop.org/release/ ---> Verifying checksum(s) for Xft2 ---> Extracting Xft2 ---> Configuring Xft2 ---> Building Xft2 with target all ---> Staging Xft2 into destroot ---> Packaging tgz archive for Xft2 2.1.7_0 ---> Installing Xft2 2.1.7_0 ---> Activating Xft2 2.1.7_0 ---> Cleaning Xft2 ---> Fetching openmotif ---> Attempting to fetch openmotif-2.3.0beta1-src.tar.gz from http://ftp.motifzone.net/om2.3/ ---> Verifying checksum(s) for openmotif ---> Extracting openmotif ---> Configuring openmotif ---> Building openmotif with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._Users_Shared_darwinports_dports_x11_openMotif/work/openmotif-2.3.0" && LANG=C make all" returned error 2 Command output: if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../../include -I../../lib/Xm -I../../lib -I./../../lib -I./../../include -I/usr/X11R6/include -I/opt/local/include -I/usr/X11R6/include -I/opt/ local/include -Wall -g -Wno-unused -Wno-comment -I/opt/local/include -I/opt/local/include/ freetype2 -I/opt/local/include -I/opt/local/include -DXTHREADS -I/opt/local/include -I/usr/X11R6/ include -MT wmldbcreate.o -MD -MP -MF ".deps/wmldbcreate.Tpo" -c -o wmldbcreate.o `test -f './

wmldbcreate.c'
echo './'`./wmldbcreate.c; \

then mv -f ".deps/wmldbcreate.Tpo" ".deps/wmldbcreate.Po"; else rm -f ".deps/wmldbcreate.Tpo"; exit 1; fi /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -I/opt/local/include -Wall -g -Wno- unused -Wno-comment -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/ opt/local/include -DXTHREADS -I/opt/local/include -I/usr/X11R6/include -L/opt/local/lib -o wmldbcreate wmldbcreate.o ../../lib/Xm/libXm.la -L/usr/X11R6/lib -lXft -lXrender -L/opt/local/lib - lXft -lX11 -L/opt/local/lib -lfreetype -lz -L/opt/local/lib -lfontconfig -L/opt/local/lib -L/usr/X11R6/ lib -lXrender -lX11 -ljpeg -lpng /usr/bin/gcc-4.0 -I/opt/local/include -Wall -g -Wno-unused -Wno-comment -I/opt/local/include -I/ opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -DXTHREADS -I/opt/local/ include -I/usr/X11R6/include -o .libs/wmldbcreate wmldbcreate.o -L/opt/local/lib ../../lib/Xm/.libs/ libXm.dylib -L/usr/X11R6/lib -lXmu -lXt -lXext -lXp /opt/local/lib/libXft.dylib /opt/local/lib/ libfontconfig.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libexpat.dylib /opt/local/lib/ libXrender.dylib -lX11 /opt/local/lib/libjpeg.dylib -lpng /usr/bin/ld: warning prebinding disabled because dependent library: /opt/local/lib/libXm.4.dylib is not prebound creating wmldbcreate ./wmldbcreate -o motif.wmd make[2]: Nothing to be done for `all-am'. Making all in clients Making all in xmbind if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../../include -I../../lib/Xm -I./../../lib -I/usr/X11R6/ include -I/opt/local/include -I/usr/X11R6/include -I/opt/local/include -Wall -g -Wno-unused -Wno- comment -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -DXTHREADS -I/opt/local/include -I/usr/X11R6/include -MT xmbind.o -MD -MP -MF ".deps/ xmbind.Tpo" -c -o xmbind.o xmbind.c; \ then mv -f ".deps/xmbind.Tpo" ".deps/xmbind.Po"; else rm -f ".deps/xmbind.Tpo"; exit 1; fi xmbind.c: In function 'main': xmbind.c:71: warning: implicit declaration of function 'exit' xmbind.c:71: warning: incompatible implicit declaration of built-in function 'exit' xmbind.c:85: warning: incompatible implicit declaration of built-in function 'exit' xmbind.c:89: warning: incompatible implicit declaration of built-in function 'exit' xmbind.c:103: warning: incompatible implicit declaration of built-in function 'exit' /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -I/opt/local/include -Wall -g -Wno- unused -Wno-comment -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/ opt/local/include -DXTHREADS -I/opt/local/include -I/usr/X11R6/include -L/opt/local/lib -o xmbind xmbind.o ../../lib/Xm/libXm.la -L/usr/X11R6/lib -lXft -lXrender -L/opt/local/lib -lXft -lX11 - L/opt/local/lib -lfreetype -lz -L/opt/local/lib -lfontconfig -L/opt/local/lib -L/usr/X11R6/lib -lXrender -lX11 -ljpeg -lpng mkdir .libs /usr/bin/gcc-4.0 -I/opt/local/include -Wall -g -Wno-unused -Wno-comment -I/opt/local/include -I/ opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -DXTHREADS -I/opt/local/ include -I/usr/X11R6/include -o .libs/xmbind xmbind.o -L/opt/local/lib ../../lib/Xm/.libs/libXm.dylib -L/usr/X11R6/lib -lXmu -lXt -lXext -lXp /opt/local/lib/libXft.dylib /opt/local/lib/libfontconfig.dylib / opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libexpat.dylib /opt/local/lib/libXrender.dylib -lX11 / opt/local/lib/libjpeg.dylib -lpng /usr/bin/ld: warning prebinding disabled because dependent library: /opt/local/lib/libXm.4.dylib is not prebound /usr/bin/ld: Undefined symbols: _libiconv _libiconv_close _libiconv_open collect2: ld returned 1 exit status make[2]: * [xmbind] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive] Error 1

It looks like configure checked for libiconv, found libiconv.h in ${prefix}, but then failed to look in $ {prefix} for the link library. As a result, the configuration has a mismatch between the header and the link commands.

comment:9 Changed 18 years ago by cssdev@…

I opened BUG #6050 since this bug's update has been committed.

comment:10 Changed 18 years ago by toby@…

Cc: toby@… removed

comment:11 Changed 18 years ago by mij@…

Cc: mij@… removed

comment:12 Changed 18 years ago by john@…

This seems related. Open motif will not build and gives the following errors:

System Info: Machine Model: iBook

CPU Type: PowerPC 750 (22.2) Number Of CPUs: 1 CPU Speed: 467 MHz L2 Cache (per CPU): 256 KB Memory: 320 MB Bus Speed: 67 MHz Boot ROM Version: 3.3.3f3

System Version: Mac OS X 10.3.9 (7W98)

Kernel Version: Darwin 7.9.0 Boot Volume: internal hd

DarwinPorts has been synced and updated within the hour. On running

sudo port openmotif install

Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_x11_openMotif/work/ openmotif-2.3.0" && LANG=C make all" returned error 2 Command output: make[2]: Nothing to be done for `all'. Making all in imake make[2]: Nothing to be done for `all'. Making all in makedepend make[2]: Nothing to be done for `all'. Making all in util make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all-am'. Making all in localized Making all in util make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all-am'. Making all in lib Making all in Xm make all-am if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/opt/local/lib/X11/bindings\" -DINCDIR=\"/opt/local/include/X11\" -DLIBDIR=\"/opt/local/lib/X11\" -I/usr/X11R6/include -I/opt/local/include -I/usr/X11R6/include -I/ usr/X11R6/include -I/opt/local/include -Wall -g -Wno-unused -Wno-comment -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -DXTHREADS -I/opt/local/ include -I/usr/X11R6/include -MT List.lo -MD -MP -MF ".deps/List.Tpo" -c -o List.lo List.c; \ then mv -f ".deps/List.Tpo" ".deps/List.Plo"; else rm -f ".deps/List.Tpo"; exit 1; fi

gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/opt/local/lib/

X11/bindings\" -DINCDIR=\"/opt/local/include/X11\" -DLIBDIR=\"/opt/local/lib/X11\" -I/usr/X11R6/ include -I/opt/local/include -I/usr/X11R6/include -I/usr/X11R6/include -I/opt/local/include -Wall -g -Wno-unused -Wno-comment -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -DXTHREADS -I/opt/local/include -I/usr/X11R6/include -MT List.lo -MD -MP -MF .deps/List.Tpo -c List.c -fno-common -DPIC -o .libs/List.o In file included from /usr/X11R6/include/X11/Xft/Xft.h:35,

from XmRenderTI.h:46, from List.c:86:

/opt/local/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!" /opt/local/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files." /opt/local/include/freetype2/freetype/freetype.h:22:2: #error "Example:" /opt/local/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>" /opt/local/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H" make[3]: * [List.lo] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all-recursive] Error 1

Error: /opt/local/bin/port: Status 1 encountered during processing.

comment:13 Changed 18 years ago by mww@…

Cc: yves@… removed
Owner: changed from mww@… to yves@…

comment:14 Changed 18 years ago by bsd@…

(In reply to comment #12)

This seems related. Open motif will not build and gives the following errors:

System Info: Machine Model: iBook

CPU Type: PowerPC 750 (22.2) Number Of CPUs: 1 CPU Speed: 467 MHz L2 Cache (per CPU): 256 KB Memory: 320 MB Bus Speed: 67 MHz Boot ROM Version: 3.3.3f3

System Version: Mac OS X 10.3.9 (7W98)

Kernel Version: Darwin 7.9.0 Boot Volume: internal hd

DarwinPorts has been synced and updated within the hour. On running

sudo port openmotif install

Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_x11_openMotif/work/ openmotif-2.3.0" && LANG=C make all" returned error 2 Command output: make[2]: Nothing to be done for `all'. Making all in imake make[2]: Nothing to be done for `all'. Making all in makedepend make[2]: Nothing to be done for `all'. Making all in util make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all-am'. Making all in localized Making all in util make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all-am'. Making all in lib Making all in Xm make all-am if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/opt/local/lib/X11/bindings\" -DINCDIR=\"/opt/local/include/X11\" -DLIBDIR=\"/opt/local/lib/X11\" -I/usr/X11R6/include -I/opt/local/include -I/usr/X11R6/include -I/ usr/X11R6/include -I/opt/local/include -Wall -g -Wno-unused -Wno-comment -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -DXTHREADS -I/opt/local/ include -I/usr/X11R6/include -MT List.lo -MD -MP -MF ".deps/List.Tpo" -c -o List.lo List.c; \ then mv -f ".deps/List.Tpo" ".deps/List.Plo"; else rm -f ".deps/List.Tpo"; exit 1; fi

gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/opt/local/lib/

X11/bindings\" -DINCDIR=\"/opt/local/include/X11\" -DLIBDIR=\"/opt/local/lib/X11\" -I/usr/X11R6/ include -I/opt/local/include -I/usr/X11R6/include -I/usr/X11R6/include -I/opt/local/include -Wall -g -Wno-unused -Wno-comment -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -DXTHREADS -I/opt/local/include -I/usr/X11R6/include -MT List.lo -MD -MP -MF .deps/List.Tpo -c List.c -fno-common -DPIC -o .libs/List.o In file included from /usr/X11R6/include/X11/Xft/Xft.h:35,

from XmRenderTI.h:46, from List.c:86:

/opt/local/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!" /opt/local/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files." /opt/local/include/freetype2/freetype/freetype.h:22:2: #error "Example:" /opt/local/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>" /opt/local/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H" make[3]: * [List.lo] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all-recursive] Error 1

Error: /opt/local/bin/port: Status 1 encountered during processing.

I recieve *exactly* the same output [failure] on the following system:

Panther Server 10.3.9 Xcode-1.5 DarwinPorts-1.2-10.3

comment:15 Changed 18 years ago by yves@…

Resolution: fixed
Status: newclosed

OK, I understand, somehow, gcc-3.3 goes for Xft in /usr/X11R6 instead of Darwinports'

This is fixed in the new version in cvs real soon

Note: See TracTickets for help on using tickets.