TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

tintin++ 1.99.3 fails to compile on FreeBSD 6.3-STABLE

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
hightekvagabond



Joined: 30 Mar 2009
Posts: 3

PostPosted: Mon Mar 30, 2009 6:12 pm    Post subject: tintin++ 1.99.3 fails to compile on FreeBSD 6.3-STABLE Reply with quote

I've had some trouble compiling tintin-1.99.3.tar on FreeBSD 6.3-STABLE where in the INSTALL suggested to post to the forums on failed compiles here is the configure and compile:






Code:

# ./configure
Configuring TinTin++
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 ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking param.h usability... no
checking param.h presence... no
checking for param.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking socks.h usability... no
checking socks.h presence... no
checking for socks.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ptem.h usability... no
checking sys/ptem.h presence... no
checking for sys/ptem.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/termio.h usability... no
checking sys/termio.h presence... no
checking for sys/termio.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking for an ANSI C-conforming const... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... no
checking whether stat accepts an empty string... no
checking for strftime... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking whether utime accepts a null argument... yes
checking for vprintf... yes
checking for _doprnt... no
checking for gethostbyname... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... (cached) yes
checking for strncasecmp... yes
checking for strstr... yes
checking for utime... yes
checking for getaddrinfo... yes
checking for forkpty... no
checking for popen... yes
checking for inflate in -lz... yes
checking for pthread_create in -lpthread... yes
checking for gethostbyname in -lnsl... no
checking for forkpty in -lutil... yes
checking for pcre_compile in -lpcre... no
checking for gmake... gmake
checking for library containing getmntent... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged

Configure has finished.  To compile, type: make





# make




gcc -Wall -Wno-trigraphs  -O2 -fno-strict-aliasing -pipe  -D_GNU_SOURCE -DHAVE_CONFIG_H    -c action.c
In file included from action.c:28:
tintin.h:37:18: pcre.h: No such file or directory
In file included from action.c:28:
tintin.h:520: error: syntax error before "pcre"
tintin.h:1098: error: syntax error before '*' token
tintin.h:1100: error: syntax error before '*' token
tintin.h:1104: error: syntax error before '*' token
tintin.h:1104: warning: type defaults to `int' in declaration of `tintin_regexp_compile'
tintin.h:1104: warning: data definition has no type or storage class
*** Error code 1


Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3856

PostPosted: Mon Mar 30, 2009 8:35 pm    Post subject: Reply with quote

You'll have to download, make, and install pcre, then run ./configure and make again.

http://www.pcre.org
Back to top
View user's profile Send private message Send e-mail
rdemanow



Joined: 17 Apr 2006
Posts: 15

PostPosted: Tue Apr 14, 2009 5:47 pm    Post subject: Reply with quote

I'm having the same problem on FreeBSD 7.1, with tintin++ 1.99.4:

Quote:
gcc -Wall -Wno-trigraphs -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -DHAVE_CONFIG_H -c action.c
In file included from action.c:28:
tintin.h:37:18: error: pcre.h: No such file or directory
In file included from action.c:28:
tintin.h:522: error: expected specifier-qualifier-list before 'pcre'
tintin.h:1100: error: expected ')' before '*' token
tintin.h:1102: error: expected ')' before '*' token
tintin.h:1106: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
*** Error code 1

Stop in /usr/home/rdemanow/src/tt/src.


pcre is installed (from /usr/ports/devel/pcre)

Quote:

/usr/local/include/pcreposix.h
/usr/local/include/pcrecpp.h
/usr/local/include/pcre_scanner.h
/usr/local/include/pcre.h
/usr/local/include/pcrecpparg.h
/usr/local/include/pcre_stringpiece.h
/usr/local/include/php/ext/pcre
/usr/local/include/php/ext/pcre/pcrelib
/usr/local/include/php/ext/pcre/pcrelib/pcre.h
/usr/local/include/php/ext/pcre/pcrelib/pcre_internal.h
/usr/local/include/php/ext/pcre/pcrelib/pcreposix.h
/usr/local/include/php/ext/pcre/php_pcre.h
/usr/local/libdata/pkgconfig/libpcre.pc
/usr/local/libdata/pkgconfig/libpcrecpp.pc
/usr/local/bin/pcretest
/usr/local/bin/pcregrep
/usr/local/bin/pcre-config
/usr/local/lib/libpcre.so.0
/usr/local/lib/libpcre.so
/usr/local/lib/libpcre.la
/usr/local/lib/libpcre.a
/usr/local/lib/libpcreposix.so.0
/usr/local/lib/libpcreposix.so
/usr/local/lib/libpcreposix.la
/usr/local/lib/libpcreposix.a
/usr/local/lib/libpcrecpp.so.0
/usr/local/lib/libpcrecpp.so
/usr/local/lib/libpcrecpp.la
/usr/local/lib/libpcrecpp.a
/usr/local/lib/clisp/full/cpcre.o
/usr/local/man/man1/pcregrep.1.gz
/usr/local/man/man1/pcretest.1.gz
/usr/local/man/man1/pcre-config.1.gz
/usr/local/man/man3/pcre_get_substring.3.gz
/usr/local/man/man3/pcre_get_substring_list.3.gz
/usr/local/man/man3/pcre_maketables.3.gz
/usr/local/man/man3/pcrepartial.3.gz
/usr/local/man/man3/pcre_study.3.gz
/usr/local/man/man3/pcreapi.3.gz
/usr/local/man/man3/pcrebuild.3.gz
/usr/local/man/man3/pcre_get_stringtable_entries.3.gz
/usr/local/man/man3/pcreprecompile.3.gz
/usr/local/man/man3/pcrecallout.3.gz
/usr/local/man/man3/pcrecompat.3.gz
/usr/local/man/man3/pcrecpp.3.gz
/usr/local/man/man3/pcreposix.3.gz
/usr/local/man/man3/pcre_refcount.3.gz
/usr/local/man/man3/pcrestack.3.gz
/usr/local/man/man3/pcre.3.gz
/usr/local/man/man3/pcre_compile.3.gz
/usr/local/man/man3/pcre_compile2.3.gz
/usr/local/man/man3/pcre_copy_named_substring.3.gz
/usr/local/man/man3/pcre_version.3.gz
/usr/local/man/man3/pcrematching.3.gz
/usr/local/man/man3/pcrepattern.3.gz
/usr/local/man/man3/pcreperform.3.gz
/usr/local/man/man3/pcresample.3.gz
/usr/local/man/man3/pcresyntax.3.gz
/usr/local/man/man3/pcre_copy_substring.3.gz
/usr/local/man/man3/pcre_dfa_exec.3.gz
/usr/local/man/man3/pcre_exec.3.gz
/usr/local/man/man3/pcre_fullinfo.3.gz
/usr/local/man/man3/pcre_get_named_substring.3.gz
/usr/local/man/man3/pcre_get_stringnumber.3.gz
/usr/local/man/man3/pcre_info.3.gz
/usr/local/man/man3/pcre_free_substring.3.gz
/usr/local/man/man3/pcre_config.3.gz
/usr/local/man/man3/pcre_free_substring_list.3.gz
/usr/local/share/doc/pcre
/usr/local/share/doc/pcre/pcre.txt
/usr/local/share/doc/pcre/pcre-config.txt
/usr/local/share/doc/pcre/pcregrep.txt
/usr/local/share/doc/pcre/pcretest.txt
/usr/local/share/doc/pcre/html/pcre.html
/usr/local/share/doc/pcre/html/pcre-config.html
/usr/local/share/doc/pcre/html/pcre_compile.html
/usr/local/share/doc/pcre/html/pcre_compile2.html
/usr/local/share/doc/pcre/html/pcre_config.html
/usr/local/share/doc/pcre/html/pcre_copy_named_substring.html
/usr/local/share/doc/pcre/html/pcre_copy_substring.html
/usr/local/share/doc/pcre/html/pcre_dfa_exec.html
/usr/local/share/doc/pcre/html/pcre_exec.html
/usr/local/share/doc/pcre/html/pcre_free_substring.html
/usr/local/share/doc/pcre/html/pcre_free_substring_list.html
/usr/local/share/doc/pcre/html/pcre_fullinfo.html
/usr/local/share/doc/pcre/html/pcre_get_named_substring.html
/usr/local/share/doc/pcre/html/pcre_get_stringnumber.html
/usr/local/share/doc/pcre/html/pcre_info.html
/usr/local/share/doc/pcre/html/pcre_get_stringtable_entries.html
/usr/local/share/doc/pcre/html/pcre_get_substring.html
/usr/local/share/doc/pcre/html/pcre_get_substring_list.html
/usr/local/share/doc/pcre/html/pcre_maketables.html
/usr/local/share/doc/pcre/html/pcre_refcount.html
/usr/local/share/doc/pcre/html/pcre_study.html
/usr/local/share/doc/pcre/html/pcre_version.html
/usr/local/share/doc/pcre/html/pcreapi.html
/usr/local/share/doc/pcre/html/pcrebuild.html
/usr/local/share/doc/pcre/html/pcrecallout.html
/usr/local/share/doc/pcre/html/pcrecompat.html
/usr/local/share/doc/pcre/html/pcregrep.html
/usr/local/share/doc/pcre/html/pcrematching.html
/usr/local/share/doc/pcre/html/pcrepartial.html
/usr/local/share/doc/pcre/html/pcrepattern.html
/usr/local/share/doc/pcre/html/pcreperform.html
/usr/local/share/doc/pcre/html/pcreposix.html
/usr/local/share/doc/pcre/html/pcresample.html
/usr/local/share/doc/pcre/html/pcreprecompile.html
/usr/local/share/doc/pcre/html/pcrestack.html
/usr/local/share/doc/pcre/html/pcresyntax.html
/usr/local/share/doc/pcre/html/pcretest.html
/usr/local/share/doc/pcre/html/pcrecpp.html
/usr/share/man/man3/clnt_pcreateerror.3.gz
/usr/share/man/man3/clnt_spcreateerror.3.gz
/usr/src/sys/arm/sa11x0/sa11x0_ppcreg.h
/usr/src/sys/dev/ppc/ppcreg.h

Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3856

PostPosted: Tue Apr 14, 2009 6:58 pm    Post subject: Reply with quote

If you ran ./configure before installing pcre you'll need to run ./configure again, or edit Makefile and add -lpcre to the LIBS variable.

If that's not the problem you could give the following a try:

./configure --includedir=/usr/local/include --libdir=/usr/local/lib

Though I think configure is supposed to check those by default.

If that's not the problem you can give the precompiled linux binary a try.

Otherwise I'm at a loss.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group