Installation Issue

Issue #92 resolved
Former user created an issue

Making all in src make[1]: Entering directory /tmp/piler-0.1.21/src' gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -fPIC -DUNIV_LINUX -DUNIV_LINUX -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c dirs.c -o dirs.o In file included from ./misc.h:11, from ./piler.h:8, from dirs.c:13: ./defs.h:9:21: error: mysql.h: No such file or directory In file included from ./misc.h:11, from ./piler.h:8, from dirs.c:13: ./defs.h:185: error: expected specifier-qualifier-list before âMYSQLâ In file included from dirs.c:13: ./piler.h:52: error: expected declaration specifiers or â...â before âMYSQL_STMTâ make[1]: *** [dirs.o] Error 1 make[1]: Leaving directory/tmp/piler-0.1.21/src' make: *** [all-recursive] Error 1


Dear jsuto, I got following error while installing MailPiler, Please help us to resolve this error.

Comments (12)

  1. Janos SUTO repo owner

    please show me the used configure options. Btw. did you get any errors running the configure script? What OS do you have?

    Anyway I recommend you to use 0.1.23 (or even better the latest master branch as it has some improvements over 0.1.23), because 0.1.21 is obsoleted.

  2. Ravindra Vishwakarma

    No i am not getting any error while running configure script. I am using CentOS 6.0.

    In version 0.1.23, i get following o/t when run configure script.

    checking for syslog.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for unistd.h... (cached) yes checking tcpd.h usability... no checking tcpd.h presence... no checking for tcpd.h... no checking for hosts_access in -lwrap... no can't find either tcpd.h or libwrap [root@node piler-0.1.23]#


    Thank.

  3. Janos SUTO repo owner

    you should either install the tcpwrappers library (dev package) or don't specify --enable-tcpwrappers configure option.

  4. Ravindra Vishwakarma

    [root@node piler-0.1.23]# make Making all in src make[1]: Entering directory /tmp/piler-0.1.23/src' gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -fPIC -DUNIV_LINUX -DUNIV_LINUX -D_GNU_SOURCE -DHAVE_TRE -DHAVE_MEMCACHED -DNEED_MYSQL -c dirs.c -o dirs.o In file included from ./misc.h:12, from ./piler.h:8, from dirs.c:13: ./defs.h:9:21: error: mysql.h: No such file or directory In file included from ./misc.h:12, from ./piler.h:8, from dirs.c:13: ./defs.h:195: error: expected specifier-qualifier-list before âMYSQLâ In file included from ./misc.h:12, from ./piler.h:8, from dirs.c:13: ./defs.h:250: error: expected specifier-qualifier-list before âMYSQL_STMTâ In file included from dirs.c:13: ./piler.h:54: error: expected declaration specifiers or â...â before âMYSQL_STMTâ dirs.c: In function âcreatedirâ: dirs.c:59: warning: ignoring return value of âchownâ, declared with attribute warn_unused_result make[1]: *** [dirs.o] Error 1 make[1]: Leaving directory/tmp/piler-0.1.23/src' make: *** [all-recursive] Error 1 [root@node piler-0.1.23]#


    I still get this error in version 0.1.23.

    Thanks.

  5. Janos SUTO repo owner

    do you have the mysql header files installed? Please show me the whole output of the configure script. You can attach it to the issue.

  6. Ravindra Vishwakarma

    Let me clear the issue, it look like this

    In file included from ./misc.h:12, from ./piler.h:8, from dirs.c:13: ./defs.h:9:21: error: mysql.h: No such file or directory In file included from ./misc.h:12, from ./piler.h:8, from dirs.c:13: ./defs.h:195: error: expected specifier-qualifier-list before âMYSQLâ In file included from ./misc.h:12, from ./piler.h:8, from dirs.c:13:


    It is shows.

  7. Janos SUTO repo owner

    thanks, I got it :-) that's why I asked whether you have installed the mysql header and library files.

  8. Ravindra Vishwakarma

    For this i need to uninstall mysql-header and library ?

    Dear Sir, I have an Iredmail Mail server. Can i integrate mailpiler with my email server. If yes then how? i mean where do i install mailpiler? on new server or on the Mail server. Please suggest. Thanks.

  9. Ravindra Vishwakarma

    I getting this error in log. Jun 12 11:54:09 mailarchive piler[1803]: reloaded config: /usr/local/etc/piler.conf Jun 12 11:54:09 mailarchive piler[1803]: ERR: cannot bind to port Jun 12 11:54:09 mailarchive piler[1803]: piler has been terminated

    Thanks.

  10. Log in to comment