[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][TOP]

Re: ORBit-0.5.10


高橋です。

さらにその後の報告です。
# これって、FreeBSD固有のコンパイルエラーなんですかね。

From: Tetsuo TAKAHASHI <tetsu-t@xxxxxxxxxxxxxxxx>
Subject: Re: ORBit-0.5.10
Date: Fri, 19 Oct 2001 11:48:56 +0900
> 高橋です。

> もう一度最初からやろうと思い、source を展張してから ./configure
> 及び gmake を行うと、ここでのエラーは無くなってしまいました。
> # ...なぜだろう。

これは私の間違い。単にMakefileを修正していたのを忘れていました。

で、何が問題かと言うと、popt/intl/Makefile.in の中に、

# The dependency for intlh.inst is different in gettext and all other
# packages.  Because we cannot you GNU make features we have to solve
# the problem while rewriting Makefile.in.
@GT_YES@xxxxxxxxxx: intlh.inst.in ../config.status
@GT_YES@	cd .. \
@GT_YES@	&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
@GT_YES@	  $(SHELL) ./config.status
@GT_NO@.PHONY: intlh.inst
@GT_NO@xxxxxxxxxx:

があるのですが、0.5.10 の popt/configure に @GT_YES@,@GT_NO@ を
削除するような script が存在しない為の様です。
ちなみに、0.5.8 には、削除するような記述があります。

で、他のエラーも含めて、

-----------------------------------------------------------------------------
*** Makefile.org	Tue Oct 23 13:23:35 2001
--- Makefile	Tue Oct 23 10:14:55 2001
***************
*** 41,47 ****
  INSTALL_DATA = ${INSTALL} -m 644
  MKINSTALLDIRS = ./mkinstalldirs
  
! l = @l@
  
  AR = ar
  CC = gcc
--- 41,47 ----
  INSTALL_DATA = ${INSTALL} -m 644
  MKINSTALLDIRS = ./mkinstalldirs
  
! l = 
  
  AR = ar
  CC = gcc
***************
*** 202,213 ****
  # The dependency for intlh.inst is different in gettext and all other
  # packages.  Because we cannot you GNU make features we have to solve
  # the problem while rewriting Makefile.in.
! @GT_YES@xxxxxxxxxx: intlh.inst.in ../config.status
! @GT_YES@	cd .. \
! @GT_YES@	&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
! @GT_YES@	  $(SHELL) ./config.status
! @GT_NO@.PHONY: intlh.inst
! @GT_NO@xxxxxxxxxx:
  
  # Tell versions [3.59,3.63) of GNU make not to export all variables.
  # Otherwise a system limit (for SysV at least) may be exceeded.
--- 202,213 ----
  # The dependency for intlh.inst is different in gettext and all other
  # packages.  Because we cannot you GNU make features we have to solve
  # the problem while rewriting Makefile.in.
! #YES#intlh.inst: intlh.inst.in ../config.status
! #YES#	cd .. \
! #YES#	&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
! #YES#	  $(SHELL) ./config.status
! .PHONY: intlh.inst
! intlh.inst:
  
  # Tell versions [3.59,3.63) of GNU make not to export all variables.
  # Otherwise a system limit (for SysV at least) may be exceeded.
-----------------------------------------------------------------------------

っていう patch をあてる事にしました。


あと、

> gmake[3]: Entering directory `/usr/local/src/GNOME/ORBit-0.5.10/test/everything'
> ../../src/orbit-idl-compiler/orbit-idl ./everything.idl
> ./everything.idl:24: Warning: `CONST_CHAR' underscores within identifiers are discouraged for use with C-language IDL mappings
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/orb               -I../../src               -I../../src/ORBitutil               -I../../src/orb               -I../../src               -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include  -I/usr/local/include  -g -O2 -c client.c
> In file included from client.c:23:
> everything.h:849: size of array `test_LongArray' is too large
> everything.h:870: size of array `test_StrArray' is too large
> everything.h:891: size of array `test_StrArrayMultiDimensional' is too large
> everything.h:892: size of array `test_StrArrayMultiDimensional_slice' is too large
> everything.h:912: size of array `test_VariableLengthStructArray' is too large
> everything.h:1192: size of array `test_StrArray2' is too large
> everything.h:1351: warning: parameter has incomplete type
> everything.h:1351: warning: parameter has incomplete type
> everything.h:1351: warning: parameter has incomplete type
> everything.h:1352: warning: parameter has incomplete type
> everything.h:1352: warning: parameter has incomplete type
> everything.h:1512: warning: parameter has incomplete type
> everything.h:1512: warning: parameter has incomplete type
> everything.h:1512: warning: parameter has incomplete type
> everything.h:1513: warning: parameter has incomplete type
> everything.h:1513: warning: parameter has incomplete type
> everything.h:1560: warning: parameter has incomplete type
> everything.h:1560: warning: parameter has incomplete type
> everything.h:1560: warning: parameter has incomplete type
> everything.h:1561: warning: parameter has incomplete type
> everything.h:1561: warning: parameter has incomplete type
> client.c: In function `testFixedLengthArray':
> client.c:418: type of formal parameter 2 is incomplete
> client.c:418: type of formal parameter 3 is incomplete
> client.c:418: type of formal parameter 4 is incomplete
> client.c: In function `testVariableLengthArray':
> client.c:452: type of formal parameter 2 is incomplete
> client.c:452: type of formal parameter 3 is incomplete
> gmake[3]: *** [client.o] Error 1
> gmake[3]: Leaving directory `/usr/local/src/GNOME/ORBit-0.5.10/test/everything'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/usr/local/src/GNOME/ORBit-0.5.10/test'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/local/src/GNOME/ORBit-0.5.10'
> gmake: *** [all-recursive-am] Error 2

こっちの件は、テスト部(?)の compile ですが、配列の最大数以上の物を
定義しようとして、異常終了しているようなのは分かりました。...が、
どこを直せば良いか分からなかったので、FreeBSD 4.4 の
 ports/devel/ORBit/file/patch-ab
を参考に、test 以下を compile しないようにしました(^-^;。
# ちなみに、
# http://mail.gnome.org/archives/orbit-list/2001-May/msg00081.html
# でも、書かれているようなのですが、解決しているのかな!?


ところで、
http://www.gnome.org/start/installing/index.php3
に、
ORBit-0.5.11.tar.gz
ってあるんですけど、実体はないですねぇ。

--
// 高橋 哲夫<Tetsuo TAKAHASHI> tetsu-t@xxxxxxxxxxxxxxxx