|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Cannot build Yaws 1.84Hello,
I've tried to build Yaws 1.84. ./configure runs fine, but make fails because of syntax errors. Software: - Yaws 1.84 (http://yaws.hyber.org/download/yaws-1.84.tar.gz) - Erlang R13B01 - Ubuntu 9.04 Any help? Thanks. Here are the logs: internet@internet-laptop ~/D/y/yaws-1.84> ./configure --prefix=/home/internet/bin/yaws-1.84 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 erl... no checking for erlc... no configure: error: Broken Erlang installation, does not exist! internet@internet-laptop ~/D/y/yaws-1.84> set PATH $PATH /home/internet/bin/erlang-r13b01/bin internet@internet-laptop ~/D/y/yaws-1.84> ./configure --prefix=/home/internet/bin/yaws-1.84 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 erl... /home/internet/bin/erlang-r13b01/bin/erl checking for erlc... /home/internet/bin/erlang-r13b01/bin/erlc checking erts version... 5.7.2 checking kernel version... 2.13.2 checking stdlib version... 1.16.2 checking sasl version... 2.1.6 checking mnesia version... 4.4.10 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 how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc needs -traditional... no checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for latex... no checking for dvips... no checking for pdflatex... no checking for epstopdf... no configure: creating ./config.status config.status: creating include.mk configure: creating ./config.status config.status: creating include.mk config.status: creating test/support/include.mk configure: creating ./config.status config.status: creating include.mk config.status: creating test/support/include.mk config.status: creating test/support/include.sh configure: creating ./config.status config.status: creating include.mk config.status: creating test/support/include.mk config.status: creating test/support/include.sh config.status: creating yaws.pc internet@internet-laptop ~/D/y/yaws-1.84> make make[1]: Entering directory `/home/internet/Desktop/yaws/yaws-1.84/c_src' gcc -c -fpic -g -O2 -I/usr/include/security -I"/home/internet/bin/erlang-r13b01/lib/erlang/usr/include" -I/usr/include/pam/ -DDYNAMIC_DRIVER setuid_drv.c gcc -shared -o ../priv/lib/setuid_drv.so setuid_drv.o gcc -c -g -O2 -I/usr/include/security -I"/home/internet/bin/erlang-r13b01/lib/erlang/usr/include" -I/usr/include/pam/ epam.c epam.c:2:22: error: pam_appl.h: No such file or directory epam.c:92: warning: ‘struct pam_response’ declared inside parameter list epam.c:92: warning: its scope is only this definition or declaration, which is probably not what you want epam.c:92: warning: ‘struct pam_message’ declared inside parameter list epam.c: In function ‘misc_conv’: epam.c:98: error: ‘PAM_CONV_ERR’ undeclared (first use in this function) epam.c:98: error: (Each undeclared identifier is reported only once epam.c:98: error: for each function it appears in.) epam.c:103: error: invalid application of ‘sizeof’ to incomplete type ‘struct pam_response’ epam.c:114: error: dereferencing pointer to incomplete type epam.c:115: error: ‘PAM_PROMPT_ECHO_OFF’ undeclared (first use in this function) epam.c:118: error: ‘PAM_PROMPT_ECHO_ON’ undeclared (first use in this function) epam.c:121: error: ‘PAM_ERROR_MSG’ undeclared (first use in this function) epam.c:122: error: dereferencing pointer to incomplete type epam.c:126: error: ‘PAM_TEXT_INFO’ undeclared (first use in this function) epam.c:127: error: dereferencing pointer to incomplete type epam.c:159: error: dereferencing pointer to incomplete type epam.c:166: error: invalid use of undefined type ‘struct pam_response’ epam.c:166: error: dereferencing pointer to incomplete type epam.c:167: error: invalid use of undefined type ‘struct pam_response’ epam.c:167: error: dereferencing pointer to incomplete type epam.c:175: error: ‘PAM_SUCCESS’ undeclared (first use in this function) epam.c:183: error: invalid use of undefined type ‘struct pam_response’ epam.c:183: error: dereferencing pointer to incomplete type epam.c:186: error: dereferencing pointer to incomplete type epam.c:192: error: invalid use of undefined type ‘struct pam_response’ epam.c:192: error: dereferencing pointer to incomplete type epam.c:203: error: invalid use of undefined type ‘struct pam_response’ epam.c:203: error: dereferencing pointer to incomplete type epam.c:205: error: invalid use of undefined type ‘struct pam_response’ epam.c:205: error: dereferencing pointer to incomplete type epam.c: At top level: epam.c:220: error: variable ‘conv’ has initializer but incomplete type epam.c:221: warning: excess elements in struct initializer epam.c:221: warning: (near initialization for ‘conv’) epam.c:223: warning: excess elements in struct initializer epam.c:223: warning: (near initialization for ‘conv’) epam.c:225: error: expected ‘)’ before ‘*’ token epam.c:265: error: expected specifier-qualifier-list before ‘pam_handle_t’ epam.c: In function ‘del_session’: epam.c:279: error: ‘struct session’ has no member named ‘sid’ epam.c:281: error: ‘struct session’ has no member named ‘next’ epam.c:284: error: ‘struct session’ has no member named ‘next’ epam.c:286: error: ‘struct session’ has no member named ‘sid’ epam.c:287: error: ‘struct session’ has no member named ‘next’ epam.c:287: error: ‘struct session’ has no member named ‘next’ epam.c:290: error: ‘struct session’ has no member named ‘next’ epam.c:291: error: ‘struct session’ has no member named ‘next’ epam.c: In function ‘do_auth’: epam.c:299: error: ‘pam_handle_t’ undeclared (first use in this function) epam.c:299: error: ‘pamh’ undeclared (first use in this function) epam.c:303: error: invalid use of undefined type ‘struct pam_conv’ epam.c:306: error: ‘PAM_SUCCESS’ undeclared (first use in this function) epam.c:310: error: ‘PAM_RUSER’ undeclared (first use in this function) epam.c:338: error: ‘struct session’ has no member named ‘session_mode’ epam.c:340: error: ‘struct session’ has no member named ‘session_mode’ epam.c:341: error: ‘struct session’ has no member named ‘sid’ epam.c:342: error: ‘struct session’ has no member named ‘pamh’ epam.c:343: error: ‘struct session’ has no member named ‘next’ epam.c: In function ‘main’: epam.c:352: error: ‘pam_handle_t’ undeclared (first use in this function) epam.c:352: error: ‘pamh’ undeclared (first use in this function) epam.c:394: error: ‘struct session’ has no member named ‘session_mode’ epam.c:395: error: ‘struct session’ has no member named ‘pamh’ epam.c:398: error: ‘struct session’ has no member named ‘pamh’ epam.c:398: error: ‘PAM_SUCCESS’ undeclared (first use in this function) make[1]: *** [epam.o] Error 1 make[1]: Leaving directory `/home/internet/Desktop/yaws/yaws-1.84/c_src' make: *** [all] Error 1 internet@internet-laptop ~/D/y/yaws-1.84> ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Erlyaws-list mailing list Erlyaws-list@... https://lists.sourceforge.net/lists/listinfo/erlyaws-list |
|
|
Re: Cannot build Yaws 1.84Installing "libpam0g-dev" ("libpam0g" was already there) fixed the issue.
Thanks. 2009/8/9 Elena Garrulo <egarrulo@...>: > Hello, > > I've tried to build Yaws 1.84. ./configure runs fine, but make fails > because of syntax errors. > > Software: > - Yaws 1.84 (http://yaws.hyber.org/download/yaws-1.84.tar.gz) > - Erlang R13B01 > - Ubuntu 9.04 > > Any help? > > Thanks. > > Here are the logs: > > internet@internet-laptop ~/D/y/yaws-1.84> ./configure > --prefix=/home/internet/bin/yaws-1.84 > 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 erl... no > checking for erlc... no > configure: error: Broken Erlang installation, does not exist! > internet@internet-laptop ~/D/y/yaws-1.84> set PATH $PATH > /home/internet/bin/erlang-r13b01/bin > internet@internet-laptop ~/D/y/yaws-1.84> ./configure > --prefix=/home/internet/bin/yaws-1.84 > 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 erl... /home/internet/bin/erlang-r13b01/bin/erl > checking for erlc... /home/internet/bin/erlang-r13b01/bin/erlc > checking erts version... 5.7.2 > checking kernel version... 2.13.2 > checking stdlib version... 1.16.2 > checking sasl version... 2.1.6 > checking mnesia version... 4.4.10 > 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 how to run the C preprocessor... gcc -E > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking whether gcc needs -traditional... no > checking whether make sets $(MAKE)... yes > checking for a BSD-compatible install... /usr/bin/install -c > checking for latex... no > checking for dvips... no > checking for pdflatex... no > checking for epstopdf... no > configure: creating ./config.status > config.status: creating include.mk > configure: creating ./config.status > config.status: creating include.mk > config.status: creating test/support/include.mk > configure: creating ./config.status > config.status: creating include.mk > config.status: creating test/support/include.mk > config.status: creating test/support/include.sh > configure: creating ./config.status > config.status: creating include.mk > config.status: creating test/support/include.mk > config.status: creating test/support/include.sh > config.status: creating yaws.pc > internet@internet-laptop ~/D/y/yaws-1.84> make > make[1]: Entering directory `/home/internet/Desktop/yaws/yaws-1.84/c_src' > gcc -c -fpic -g -O2 -I/usr/include/security > -I"/home/internet/bin/erlang-r13b01/lib/erlang/usr/include" > -I/usr/include/pam/ -DDYNAMIC_DRIVER setuid_drv.c > gcc -shared -o ../priv/lib/setuid_drv.so setuid_drv.o > gcc -c -g -O2 -I/usr/include/security > -I"/home/internet/bin/erlang-r13b01/lib/erlang/usr/include" > -I/usr/include/pam/ epam.c > epam.c:2:22: error: pam_appl.h: No such file or directory > epam.c:92: warning: ‘struct pam_response’ declared inside parameter list > epam.c:92: warning: its scope is only this definition or declaration, > which is probably not what you want > epam.c:92: warning: ‘struct pam_message’ declared inside parameter list > epam.c: In function ‘misc_conv’: > epam.c:98: error: ‘PAM_CONV_ERR’ undeclared (first use in this function) > epam.c:98: error: (Each undeclared identifier is reported only once > epam.c:98: error: for each function it appears in.) > epam.c:103: error: invalid application of ‘sizeof’ to incomplete type > ‘struct pam_response’ > epam.c:114: error: dereferencing pointer to incomplete type > epam.c:115: error: ‘PAM_PROMPT_ECHO_OFF’ undeclared (first use in this function) > epam.c:118: error: ‘PAM_PROMPT_ECHO_ON’ undeclared (first use in this function) > epam.c:121: error: ‘PAM_ERROR_MSG’ undeclared (first use in this function) > epam.c:122: error: dereferencing pointer to incomplete type > epam.c:126: error: ‘PAM_TEXT_INFO’ undeclared (first use in this function) > epam.c:127: error: dereferencing pointer to incomplete type > epam.c:159: error: dereferencing pointer to incomplete type > epam.c:166: error: invalid use of undefined type ‘struct pam_response’ > epam.c:166: error: dereferencing pointer to incomplete type > epam.c:167: error: invalid use of undefined type ‘struct pam_response’ > epam.c:167: error: dereferencing pointer to incomplete type > epam.c:175: error: ‘PAM_SUCCESS’ undeclared (first use in this function) > epam.c:183: error: invalid use of undefined type ‘struct pam_response’ > epam.c:183: error: dereferencing pointer to incomplete type > epam.c:186: error: dereferencing pointer to incomplete type > epam.c:192: error: invalid use of undefined type ‘struct pam_response’ > epam.c:192: error: dereferencing pointer to incomplete type > epam.c:203: error: invalid use of undefined type ‘struct pam_response’ > epam.c:203: error: dereferencing pointer to incomplete type > epam.c:205: error: invalid use of undefined type ‘struct pam_response’ > epam.c:205: error: dereferencing pointer to incomplete type > epam.c: At top level: > epam.c:220: error: variable ‘conv’ has initializer but incomplete type > epam.c:221: warning: excess elements in struct initializer > epam.c:221: warning: (near initialization for ‘conv’) > epam.c:223: warning: excess elements in struct initializer > epam.c:223: warning: (near initialization for ‘conv’) > epam.c:225: error: expected ‘)’ before ‘*’ token > epam.c:265: error: expected specifier-qualifier-list before ‘pam_handle_t’ > epam.c: In function ‘del_session’: > epam.c:279: error: ‘struct session’ has no member named ‘sid’ > epam.c:281: error: ‘struct session’ has no member named ‘next’ > epam.c:284: error: ‘struct session’ has no member named ‘next’ > epam.c:286: error: ‘struct session’ has no member named ‘sid’ > epam.c:287: error: ‘struct session’ has no member named ‘next’ > epam.c:287: error: ‘struct session’ has no member named ‘next’ > epam.c:290: error: ‘struct session’ has no member named ‘next’ > epam.c:291: error: ‘struct session’ has no member named ‘next’ > epam.c: In function ‘do_auth’: > epam.c:299: error: ‘pam_handle_t’ undeclared (first use in this function) > epam.c:299: error: ‘pamh’ undeclared (first use in this function) > epam.c:303: error: invalid use of undefined type ‘struct pam_conv’ > epam.c:306: error: ‘PAM_SUCCESS’ undeclared (first use in this function) > epam.c:310: error: ‘PAM_RUSER’ undeclared (first use in this function) > epam.c:338: error: ‘struct session’ has no member named ‘session_mode’ > epam.c:340: error: ‘struct session’ has no member named ‘session_mode’ > epam.c:341: error: ‘struct session’ has no member named ‘sid’ > epam.c:342: error: ‘struct session’ has no member named ‘pamh’ > epam.c:343: error: ‘struct session’ has no member named ‘next’ > epam.c: In function ‘main’: > epam.c:352: error: ‘pam_handle_t’ undeclared (first use in this function) > epam.c:352: error: ‘pamh’ undeclared (first use in this function) > epam.c:394: error: ‘struct session’ has no member named ‘session_mode’ > epam.c:395: error: ‘struct session’ has no member named ‘pamh’ > epam.c:398: error: ‘struct session’ has no member named ‘pamh’ > epam.c:398: error: ‘PAM_SUCCESS’ undeclared (first use in this function) > make[1]: *** [epam.o] Error 1 > make[1]: Leaving directory `/home/internet/Desktop/yaws/yaws-1.84/c_src' > make: *** [all] Error 1 > internet@internet-laptop ~/D/y/yaws-1.84> > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Erlyaws-list mailing list Erlyaws-list@... https://lists.sourceforge.net/lists/listinfo/erlyaws-list |
|
|
Re: Cannot build Yaws 1.84On Sun, Aug 9, 2009 at 3:47 PM, Elena Garrulo<egarrulo@...> wrote:
> Installing "libpam0g-dev" ("libpam0g" was already there) fixed the issue. alternatively, you can configure yaws with "--disable-pam", if you don't need it -- Olivier ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Erlyaws-list mailing list Erlyaws-list@... https://lists.sourceforge.net/lists/listinfo/erlyaws-list |
|
|
Re: Cannot build Yaws 1.84I have rented a test server which runs under Ubuntu 9.04.
Now I would like to upgrade to newer yaws (and possibly Erlang) versions, than those which are available via "apt-get". My experience from FreeBSD is that there it usually not sufficient to grab a source tarball (like Olivier did) and do the ./configure, make install dance. For FreeBSD I know how to find out about the additional patches, which the port maintainers created to adapt a source tarball to a FreeBSD system. This helps when moving to a new tarball than that which is supported in the FreeBSD ports system. What about Ubuntu? I so far only know two options, either using apt-get to grab/install a package or to build from source. However I feel uneasy about building from source, because I don't follow Ubuntu development and have no judgement how much adjustments are needed for Ubuntu. Is it possible to see the patches the Ubuntu package maintainers apply to the source tarballs? Or am I just too paranoid and I might simply get away with building from source? I would love to hear your experiences. Regards, Marc
2009/8/9 Olivier Girondel <olivier.girondel@...>
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Erlyaws-list mailing list Erlyaws-list@... https://lists.sourceforge.net/lists/listinfo/erlyaws-list |
|
|
Re: Cannot build Yaws 1.84Marc van Woerkom wrote:
> Or am I just too paranoid and I might simply get away with building from > source? I would love to hear your experiences. > Building erlang from source un Ubuntu is a breeze. I especially like: # apt-get build-dep erlang I don't know - but I have a hard time to see that any patches ought to be applied by the Ubuntu devs. As for Yaws, the Ubuntu devs use their own /etc/init.d files I guess their version is ok - but I prefer the one that comes with source Yaws. /klacke ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Erlyaws-list mailing list Erlyaws-list@... https://lists.sourceforge.net/lists/listinfo/erlyaws-list |
|
|
Re: Cannot build Yaws 1.84Building erlang from source un Ubuntu is a breeze. I especially
like: It worked after I took the /etc/apt/sources.list file and added "deb-src .." entries plus issued "apt-get update" afterwards. Regards, Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Erlyaws-list mailing list Erlyaws-list@... https://lists.sourceforge.net/lists/listinfo/erlyaws-list |
| Free embeddable forum powered by Nabble | Forum Help |