Mac OS X Tiger

  • ページ: 動作報告
  • 投稿者: sakoda?
  • 状態: 小さな不具合
  • ptetexバージョン:20060615
  • 投稿日: 2006-06-16 (金) 16:42:27

必要パッケージ

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

###ここまで


  • 別解としては20060612までのものをmakeしておいて、20060615はmy_optionで--without-xdvikを指定することも考えられます。その場合、新しいものはmakeでインストールするのではなく、make stage2, make stage4の手順で更新することになると思います。 -- sakdoa? 2006-06-16 (金) 16:49:46
  • 原因まで詳しく調べていただいて、ありがとうございます。新しい freetype を使う差し迫った理由はないので、ひとまず元に戻しておきました。 -- 土村? 2006-06-16 (金) 18:37:45

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2007-04-30 (月) 02:58:08 (6207d)