yasuyuki
yasuy****@javao*****
2005年 6月 8日 (水) 14:56:52 JST
えんどうです。 > Gauche-firebird-0.4をリリースします。これまで同様、 > > http://visha.org/Gauche-firebird-0.4.tar.gz > > から入手できます。 Vine Linux 3.1 でビルドしてみました。 FirebirdSS-1.5.2.4731-0.i686.rpm をインストールすると、 /opt/firebird配下にインストールされます。 gds.hが見つけられない気配なのですが、dbd-mysql, dbd-pg のように、 fb_config を実行して include パスや lib パスを取得するように していただけると助かります。 tar xvfz Gauche-firebird-0.4.tar.gz cd Gauche-firebird-0.4 export PATH=/opt/firebird/bin:$PATH ./configure --includedir=/opt/firebird/include --libdir=/opt/firebird/lib >& conf.txt & tail -f conf.txt checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gosh... /usr/local/bin/gosh checking for gauche-config... /usr/local/bin/gauche-config checking for gauche-package... /usr/local/bin/gauche-package checking for gauche-install... /usr/local/bin/gauche-install 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 ANSI C... none needed checking for isc_attach_database in -lgds... yes configure: creating Gauche-firebird.gpd configure: creating ./config.status config.status: creating Makefile make >& err.txt & tail -f err.txt /usr/local/bin/gosh genstub firebird.stub gcc -Wall -I/usr/local/lib/gauche/0.8.4_pre1/include -g -O2 -I/usr/local/lib/gauche/0.8.4_pre1/include -c firebird.c -o firebird.o firebird.c:7:2: 警告: #import は古い表現です. ヘッダファイル中で #ifndef のラッパーを使ってください firebird.c:7:25: Firebird/gds.h: そのようなファイルやディレクトリはありません In file included from firebird.c:8: fbapi_if.h:16: error: 文法エラー before "isc_db_handle" fbapi_if.h:16: 警告: struct や union の最後にセミコロンがありません fbapi_if.h:17: 警告: type defaults to `int' in declaration of `ScmFirebirdConnection' fbapi_if.h:17: 警告: data definition has no type or storage class fbapi_if.h:25: error: 文法エラー before '*' token fbapi_if.h:26: error: 文法エラー before '*' token fbapi_if.h:31: error: 文法エラー before "isc_tr_handle" fbapi_if.h:31: 警告: struct や union の最後にセミコロンがありません fbapi_if.h:32: 警告: type defaults to `int' in declaration of `ScmFirebirdTransaction' fbapi_if.h:32: 警告: data definition has no type or storage class fbapi_if.h:40: error: 文法エラー before '*' token fbapi_if.h:41: error: 文法エラー before '*' token fbapi_if.h:42: error: 文法エラー before '*' token fbapi_if.h:49: error: 文法エラー before "isc_stmt_handle" fbapi_if.h:49: 警告: struct や union の最後にセミコロンがありません fbapi_if.h:50: 警告: type defaults to `int' in declaration of `dialect' fbapi_if.h:50: 警告: data definition has no type or storage class fbapi_if.h:51: error: 文法エラー before '*' token fbapi_if.h:51: 警告: type defaults to `int' in declaration of `in_sqlda' fbapi_if.h:51: 警告: data definition has no type or storage class fbapi_if.h:52: error: 文法エラー before '*' token fbapi_if.h:52: 警告: type defaults to `int' in declaration of `out_sqlda' fbapi_if.h:52: 警告: data definition has no type or storage class fbapi_if.h:53: error: 文法エラー before '}' token fbapi_if.h:53: 警告: type defaults to `int' in declaration of `ScmFirebirdStatement' fbapi_if.h:53: 警告: data definition has no type or storage class fbapi_if.h:63: error: 文法エラー before '*' token fbapi_if.h:66: error: 文法エラー before '*' token fbapi_if.h:67: error: 文法エラー before '*' token fbapi_if.h:68: error: 文法エラー before '*' token fbapi_if.h:69: error: 文法エラー before '*' token fbapi_if.h:70: error: 文法エラー before '*' token fbapi_if.h:71: error: 文法エラー before '*' token fbapi_if.h:72: error: 文法エラー before '*' token fbapi_if.h:73: error: 文法エラー before '*' token fbapi_if.h:74: error: 文法エラー before '*' token fbapi_if.h:75: error: 文法エラー before '*' token fbapi_if.h:76: error: 文法エラー before '*' token fbapi_if.h:77: error: 文法エラー before '*' token fbapi_if.h:78: error: 文法エラー before '*' token fbapi_if.h:79: error: 文法エラー before '*' token fbapi_if.h:80: error: 文法エラー before '*' token fbapi_if.h:81: error: 文法エラー before '*' token fbapi_if.h:82: error: 文法エラー before '*' token fbapi_if.h:83: error: 文法エラー before '*' token fbapi_if.h:84: error: 文法エラー before '*' token fbapi_if.h:85: error: 文法エラー before '*' token fbapi_if.h:86: error: 文法エラー before '*' token fbapi_if.h:88: error: 文法エラー before '*' token firebird.c: 関数 `firebird_firebird_detach_database' 内: firebird.c:56: error: `db' undeclared (first use in this function) firebird.c:56: error: (Each undeclared identifier is reported only once firebird.c:56: error: for each function it appears in.) firebird.c:60: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_drop_database' 内: firebird.c:72: error: `db' undeclared (first use in this function) firebird.c:76: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_commit_transaction' 内: firebird.c:121: error: `trh' undeclared (first use in this function) firebird.c:125: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_commit_retaining' 内: firebird.c:137: error: `trh' undeclared (first use in this function) firebird.c:141: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_rollback_transaction' 内: firebird.c:153: error: `trh' undeclared (first use in this function) firebird.c:157: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_dsql_prepare_statement' 内: firebird.c:210: error: `db' undeclared (first use in this function) firebird.c:212: error: `tr' undeclared (first use in this function) firebird.c:218: error: 文法エラー before ')' token firebird.c:221: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_dsql_free_statement' 内: firebird.c:236: error: `stmt' undeclared (first use in this function) firebird.c:240: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_dsql_set_null' 内: firebird.c:252: error: `stmt' undeclared (first use in this function) firebird.c:258: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_dsql_set_parameter' 内: firebird.c:273: error: `stmt' undeclared (first use in this function) firebird.c:281: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_dsql_set_parameters' 内: firebird.c:298: error: `stmt' undeclared (first use in this function) firebird.c:304: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_dsql_get_value' 内: firebird.c:319: error: `stmt' undeclared (first use in this function) firebird.c:325: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_dsql_get_values' 内: firebird.c:340: error: `stmt' undeclared (first use in this function) firebird.c:344: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_dsql_execute' 内: firebird.c:356: error: `tr' undeclared (first use in this function) firebird.c:358: error: `stmt' undeclared (first use in this function) firebird.c:362: error: 文法エラー before ')' token firebird.c:365: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_dsql_fetch' 内: firebird.c:377: error: `stmt' undeclared (first use in this function) firebird.c:381: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_dsql_set_cursor_name' 内: firebird.c:393: error: `stmt' undeclared (first use in this function) firebird.c:399: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_dsql_close_cursor' 内: firebird.c:414: error: `stmt' undeclared (first use in this function) firebird.c:418: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_statement_input_count' 内: firebird.c:430: error: `stmt' undeclared (first use in this function) firebird.c:434: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_statement_inputP' 内: firebird.c:446: error: `stmt' undeclared (first use in this function) firebird.c:450: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_statement_output_count' 内: firebird.c:462: error: `stmt' undeclared (first use in this function) firebird.c:466: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_statement_outputP' 内: firebird.c:478: error: `stmt' undeclared (first use in this function) firebird.c:482: error: 文法エラー before ')' token firebird.c: 関数 `firebird__firebird_get_input_parameter_type' 内: firebird.c:494: error: `stmt' undeclared (first use in this function) firebird.c:500: error: 文法エラー before ')' token firebird.c: 関数 `firebird__firebird_get_output_column_type' 内: firebird.c:515: error: `stmt' undeclared (first use in this function) firebird.c:521: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_statement_input_nullableP' 内: firebird.c:564: error: `stmt' undeclared (first use in this function) firebird.c:570: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_statement_output_nullableP' 内: firebird.c:585: error: `stmt' undeclared (first use in this function) firebird.c:591: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_statement_input_name' 内: firebird.c:606: error: `stmt' undeclared (first use in this function) firebird.c:612: error: 文法エラー before ')' token firebird.c: 関数 `firebird_firebird_statement_output_name' 内: firebird.c:627: error: `stmt' undeclared (first use in this function) firebird.c:633: error: 文法エラー before ')' token firebird.c: 関数 `firebird__firebird_database_info' 内: firebird.c:648: error: `db' undeclared (first use in this function) firebird.c:654: error: 文法エラー before ')' token firebird.c: 関数 `__stub_init' 内: firebird.c:815: error: `isc_info_active_transactions' undeclared (first use in this function) firebird.c:817: error: `isc_info_db_provider' undeclared (first use in this function) firebird.c:819: error: `isc_info_next_transaction' undeclared (first use in this function) firebird.c:821: error: `isc_info_oldest_snapshot' undeclared (first use in this function) firebird.c:823: error: `isc_info_oldest_active' undeclared (first use in this function) firebird.c:825: error: `isc_info_oldest_transaction' undeclared (first use in this function) firebird.c:827: error: `isc_info_firebird_version' undeclared (first use in this function) firebird.c:829: error: `isc_info_db_class' undeclared (first use in this function) firebird.c:831: error: `frb_info_att_charset' undeclared (first use in this function) firebird.c:833: error: `isc_info_db_size_in_pages' undeclared (first use in this function) firebird.c:835: error: `isc_info_db_read_only' undeclared (first use in this function) firebird.c:837: error: `isc_info_db_sql_dialect' undeclared (first use in this function) firebird.c:839: error: `isc_info_set_page_buffers' undeclared (first use in this function) firebird.c:841: error: `isc_info_tpage_errors' undeclared (first use in this function) firebird.c:843: error: `isc_info_ppage_errors' undeclared (first use in this function) firebird.c:845: error: `isc_info_ipage_errors' undeclared (first use in this function) firebird.c:847: error: `isc_info_dpage_errors' undeclared (first use in this function) firebird.c:849: error: `isc_info_bpage_errors' undeclared (first use in this function) firebird.c:851: error: `isc_info_record_errors' undeclared (first use in this function) firebird.c:853: error: `isc_info_page_errors' undeclared (first use in this function) firebird.c:855: error: `isc_info_user_names' undeclared (first use in this function) firebird.c:857: error: `isc_info_forced_writes' undeclared (first use in this function) firebird.c:859: error: `isc_info_wal_avg_grpc_size' undeclared (first use in this function) firebird.c:861: error: `isc_info_wal_num_commits' undeclared (first use in this function) firebird.c:863: error: `isc_info_wal_avg_io_size' undeclared (first use in this function) firebird.c:865: error: `isc_info_wal_num_io' undeclared (first use in this function) firebird.c:867: error: `isc_info_wal_grpc_wait_usecs' undeclared (first use in this function) firebird.c:869: error: `isc_info_wal_recv_ckpt_poffset' undeclared (first use in this function) firebird.c:871: error: `isc_info_wal_recv_ckpt_fname' undeclared (first use in this function) firebird.c:873: error: `isc_info_wal_prv_ckpt_poffset' undeclared (first use in this function) firebird.c:875: error: `isc_info_wal_prv_ckpt_fname' undeclared (first use in this function) firebird.c:877: error: `isc_info_wal_cur_ckpt_interval' undeclared (first use in this function) firebird.c:879: error: `isc_info_wal_ckpt_length' undeclared (first use in this function) firebird.c:881: error: `isc_info_wal_buffer_size' undeclared (first use in this function) firebird.c:883: error: `isc_info_num_wal_buffers' undeclared (first use in this function) firebird.c:885: error: `isc_info_cur_log_part_offset' undeclared (first use in this function) firebird.c:887: error: `isc_info_cur_logfile_name' undeclared (first use in this function) firebird.c:889: error: `isc_info_logfile' undeclared (first use in this function) firebird.c:891: error: `isc_info_no_reserve' undeclared (first use in this function) firebird.c:893: error: `isc_info_ods_minor_version' undeclared (first use in this function) firebird.c:895: error: `isc_info_ods_version' undeclared (first use in this function) firebird.c:897: error: `isc_info_sweep_interval' undeclared (first use in this function) firebird.c:899: error: `isc_info_expunge_count' undeclared (first use in this function) firebird.c:901: error: `isc_info_purge_count' undeclared (first use in this function) firebird.c:903: error: `isc_info_backout_count' undeclared (first use in this function) firebird.c:905: error: `isc_info_delete_count' undeclared (first use in this function) firebird.c:907: error: `isc_info_update_count' undeclared (first use in this function) firebird.c:909: error: `isc_info_insert_count' undeclared (first use in this function) firebird.c:911: error: `isc_info_read_idx_count' undeclared (first use in this function) firebird.c:913: error: `isc_info_read_seq_count' undeclared (first use in this function) firebird.c:915: error: `isc_info_attachment_id' undeclared (first use in this function) firebird.c:917: error: `isc_info_allocation' undeclared (first use in this function) firebird.c:919: error: `isc_info_license' undeclared (first use in this function) firebird.c:921: error: `isc_info_window_turns' undeclared (first use in this function) firebird.c:923: error: `isc_info_max_memory' undeclared (first use in this function) firebird.c:925: error: `isc_info_current_memory' undeclared (first use in this function) firebird.c:927: error: `isc_info_limbo' undeclared (first use in this function) firebird.c:929: error: `isc_info_num_buffers' undeclared (first use in this function) firebird.c:931: error: `isc_info_page_size' undeclared (first use in this function) firebird.c:933: error: `isc_info_base_level' undeclared (first use in this function) firebird.c:935: error: `isc_info_isc_version' undeclared (first use in this function) firebird.c:937: error: `isc_info_implementation' undeclared (first use in this function) firebird.c:939: error: `isc_info_marks' undeclared (first use in this function) firebird.c:941: error: `isc_info_fetches' undeclared (first use in this function) firebird.c:943: error: `isc_info_writes' undeclared (first use in this function) firebird.c:945: error: `isc_info_reads' undeclared (first use in this function) firebird.c:947: error: `isc_info_db_id' undeclared (first use in this function) firebird.c:954: error: `SQL_INT64' undeclared (first use in this function) firebird.c:956: error: `SQL_TYPE_DATE' undeclared (first use in this function) firebird.c:958: error: `SQL_TYPE_TIME' undeclared (first use in this function) firebird.c:960: error: `SQL_QUAD' undeclared (first use in this function) firebird.c:962: error: `SQL_ARRAY' undeclared (first use in this function) firebird.c:964: error: `SQL_BLOB' undeclared (first use in this function) firebird.c:966: error: `SQL_TIMESTAMP' undeclared (first use in this function) firebird.c:968: error: `SQL_D_FLOAT' undeclared (first use in this function) firebird.c:970: error: `SQL_DOUBLE' undeclared (first use in this function) firebird.c:972: error: `SQL_FLOAT' undeclared (first use in this function) firebird.c:974: error: `SQL_LONG' undeclared (first use in this function) firebird.c:976: error: `SQL_SHORT' undeclared (first use in this function) firebird.c:978: error: `SQL_VARYING' undeclared (first use in this function) firebird.c:980: error: `SQL_TEXT' undeclared (first use in this function) make: *** [firebird.o] エラー 1 -- ENDO Yasuyuki <yasuy****@javao*****> http://www.javaopen.org/~yasuyuki/ http://www.javaopen.org/jfriends/