Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  Installing Yaws on Linux: Problem with 'make'

Guest
Posted: Thu Dec 31, 2009 4:05 pm Reply with quote
Guest
Hello, I am trying to install Yaws on Linux (CentOS).


This worked without errors:
./configure --localstatedir=/var --sysconfdir=/etc

But 'make' did not successfully work. Here are the errors and warnings.

Any help would be greatly appreciated, thanks!


########################################


-bash-3.1# make
make[1]: Entering directory `/apps/yaws/yaws-1.86/c_src'
gcc -c -g -O2 -I/usr/include/security -I"/usr/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 `/apps/yaws/yaws-1.86/c_src'
make: *** [all] Error 1

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist
Guest
Posted: Thu Dec 31, 2009 4:27 pm Reply with quote
Guest
Hank Knight wrote:
> Hello, I am trying to install Yaws on Linux (CentOS).
>
>
> This worked without errors:
> ./configure --localstatedir=/var --sysconfdir=/etc
>
> But 'make' did not successfully work. Here are the errors and warnings.
>
> Any help would be greatly appreciated, thanks!
>
>
> ########################################
>
>
> -bash-3.1# make
> make[1]: Entering directory `/apps/yaws/yaws-1.86/c_src'
> gcc -c -g -O2 -I/usr/include/security -I"/usr/lib/erlang/usr/include"
> -I/usr/include/pam/ epam.c
> epam.c:2:22: error: pam_appl.h: No such file or directory

You need LINUX pam development libraries and headers installed, on
Ubuntu:

# aptitude install libpam-dev


/klacke

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist
wuji
Posted: Fri Aug 24, 2012 6:35 am Reply with quote
User Joined: 10 Aug 2012 Posts: 654
bariatric surgeon at Lenox Hill Hospital in New York."That being being cheap polo shirts being said, clinically I have seen people with bipolar disorder
cyclothymia go through manic episodes following surgery," said Roslin. "This "This knockoff designer *beep* "This can be seen with shopping sprees, divorces, high-risk sexual
and other behaviors. Rather than cause, the weight loss unmasks unmasks [h3]buy real jordans[/h3] unmasks the psychological illness that was long standing and probably
expressed by the depressed side, more than the manic side."However, side."However, cheap replica *beep* side."However, bypass surgery can change absorption of medications, and patients
mood stabilizers need to be monitored carefully, according to Roslin.Bipolar Roslin.Bipolar [h3]cheap polo shirts[/h3] Roslin.Bipolar disorder can cause dramatic mood swings from highs to
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

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
You can attach files in this forum
You can download files in this forum