Mac OS X Tiger †必要パッケージ †xdviのmakeに失敗するようなので ptetex3-20060612まで含まれていたた freetype-2.1.10を使うように 2extract-src.shを変更。 my_optionに変数MYNAMEを追加。 2extract-src.shの188行付近 ## freetype for xdvi-jp if test "$SYSTEM_FREETYPE2" = "no"; then ###sakoda if test "$MYNAME" = "Mac" ; then tarx archive/freetype-2.1.10.tar.gz $SRC mv $SRC/freetype-* $SRC/freetype || exit else ###sakoda tarx archive/freetype-2.2.1.tar.gz $SRC mv $SRC/freetype-* $SRC/freetype || exit perlprint 's/# (AUX_MODULES \+= otvalid)/\1/' $SRC/freetype/modules.cfg ###sakoda fi ###sakoda fi と変更する。 my_option †MYNAME=Mac という1行を加える メッセージ †freetype-2.2.1の場合にエラーで止まる直前のメッセージです このうち、multiple definitionsという警告は2.1.10でも出ます。 ###ここから gcc -o xdvi-motif.bin browser.o dvi-draw.o dvi-init.o dvisel.o encodings.o events.o filehist.o font-open.o gf.o hypertex.o image-magick.o mime.o my-snprintf.o my-vsnprintf.o pagehist.o pk.o print-internal.o psdps.o psgs.o psheader.o psnews.o read-mapfile.o search-internal.o special.o string-utils.o tfmload.o util.o vf.o xdvi.o xserver-info.o x_util.o zeit.o dnpzeit.o vfontmap.o vf2ft.o jisx0208.o jfm.o ft2vert.o ./gui/libgui.a ../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/libtype1.a -L/usr/X11R6/lib -lXm -lXmu -lXt -lSM -lICE -lXp -lXext -lX11 -L/usr/lib -liconv -lXpm ../kpathsea/.libs/libkpathsea.a -lm -L/usr/local/lib ../../freetype/objs/.libs/libfreetype.a -lz /usr/bin/ld: warning multiple definitions of symbol _XtRemoveTimeOut events.o definition of _XtRemoveTimeOut in section (__TEXT,__text) /usr/X11R6/lib/libXt.dylib(NextEvent.o) definition of _XtRemoveTimeOut /usr/bin/ld: warning multiple definitions of symbol _XtAddTimeOut events.o definition of _XtAddTimeOut in section (__TEXT,__text) /usr/X11R6/lib/libXt.dylib(NextEvent.o) definition of _XtAddTimeOut /usr/bin/ld: warning multiple definitions of symbol _XtAppAddTimeOut events.o definition of _XtAppAddTimeOut in section (__TEXT,__text) /usr/X11R6/lib/libXt.dylib(NextEvent.o) definition of _XtAppAddTimeOut /usr/bin/ld: Undefined symbols: _ATSFontFindFromName _ATSFontGetFileSpecification _CFStringCreateWithCString _CloseResFile _CopyPascalStringToC _FMCreateFontFamilyInstanceIterator _FMCreateFontFamilyIterator _FMDisposeFontFamilyInstanceIterator _FMDisposeFontFamilyIterator _FMGetFontContainer _FMGetFontFamilyName _FMGetNextFontFamily _FMGetNextFontFamilyInstance _FSGetCatalogInfo _FSGetForkCBInfo _FSOpenResFile _FSOpenResourceFile _FSPathMakeRef _FSRefMakePath _FSpMakeFSRef _Get1IndResource _Get1Resource _GetHandleSize _GetResInfo _GetResource _HLock _HUnlock _HomeResFile _ReleaseResource _ResError _UseResFile collect2: ld returned 1 exit status make[3]: *** [xdvi-motif.bin] Error 1 make[2]: *** [all] Error 1 make[1]: *** [all] Error 1 make: *** [stage4] Error 2 ###ここまで |