Hello, On 08/09/2011 01:59 PM, Gergely Nagy wrote:
I'm not really sure what goes wrong - though, I haven't tried making a make dist & copying over to ports, but a simple ./configure && gmake && gmake install, and that worked.
I'll check the tarball copying stuff too when I get around to it.
Installing mongodb support from a 'make dist' tarball failed with the same error message also on openSUSE 11.4. Looking at 'make dist' output I found these lines: tardir=syslog-ng-3.3.0beta1 && /bin/sh /root/syslog-ng-3.3/missing --run tar chof - "$tardir" | GZIP=--best gzip -c >syslog-ng-3.3.0beta1.tar.gz tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/func/mongo/sync-gridfs-chunk/f_sync_gridfs_chunk.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/func/mongo/sync-cursor/f_sync_cursor_tailable.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/func/mongo/sync-cursor/f_sync_cursor_iterate.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/func/mongo/sync/f_sync_max_insert_size.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/func/mongo/sync-gridfs-stream/f_sync_gridfs_stream.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/client/connection_set_timeout.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/client/connection_get_requestid.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/wire/reply_packet_get_nth_document.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/wire/reply_packet_get_header.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/wire/packet_get_set_header_raw.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-gridfs-chunk/sync_gridfs_chunked_file_cursor_get_chunk.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-gridfs-chunk/sync_gridfs_chunked_find.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-gridfs-chunk/sync_gridfs_chunked_file_free.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-gridfs-chunk/sync_gridfs_chunked_file_new_from_buffer.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-gridfs-chunk/sync_gridfs_chunked_file_cursor_new.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-cursor/sync_cursor_get_data.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-cursor/sync_cursor_new.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-cursor/sync_cursor_free.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-cursor/sync_cursor_next.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync/sync_get_set_auto_reconnect.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync/sync_get_set_safe_mode.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync/sync_cmd_get_last_error.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync/sync_cmd_index_drop_all.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync/sync_get_set_max_insert_size.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-gridfs-stream/sync_gridfs_stream_seek.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-gridfs-stream/sync_gridfs_stream_write.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-gridfs-stream/sync_gridfs_stream_read.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-gridfs-stream/sync_gridfs_stream_close.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-gridfs-stream/sync_gridfs_stream_new.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-gridfs-stream/sync_gridfs_stream_find.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-gridfs/sync_gridfs_file_get_metadata.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-gridfs/sync_gridfs_new.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-gridfs/sync_gridfs_free.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-gridfs/sync_gridfs_list.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-gridfs/sync_gridfs_remove.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/mongo/sync-gridfs/sync_gridfs_get_set_chunk_size.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/bson/bson_cursor_get_javascript_w_scope.c: file name is too long (max 99); not dumped tar: syslog-ng-3.3.0beta1/modules/afmongodb/libmongo-client/tests/unit/bson/bson_cursor_get_utc_datetime.c: file name is too long (max 99); not dumped tar: Exiting with failure status due to previous errors { test ! -d "syslog-ng-3.3.0beta1" || { find "syslog-ng-3.3.0beta1" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr "syslog-ng-3.3.0beta1"; }; } Ugly workaround: ./configure --disable-mongodb Bye, -- Peter Czanik (CzP) <czanik@balabit.hu> BalaBit IT Security / syslog-ng upstream http://czanik.blogs.balabit.com/