Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  Cannot build Yaws 1.84

Guest
Posted: Sun Aug 09, 2009 1:48 pm Reply with quote
Guest
Installing "libpam0g-dev" ("libpam0g" was already there) fixed the issue.

Thanks.

2009/8/9 Elena Garrulo <egarrulo@gmail.com>:
> 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,
Guest
Posted: Sun Aug 09, 2009 1:48 pm Reply with quote
Guest
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:
Guest
Posted: Sun Aug 09, 2009 2:53 pm Reply with quote
Guest
On Sun, Aug 9, 2009 at 3:47 PM, Elena Garrulo<egarrulo@gmail.com> 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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist
Guest
Posted: Fri Aug 21, 2009 9:54 pm Reply with quote
Guest
I 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@gmail.com (olivier.girondel@gmail.com)>
Quote:
On Sun, Aug 9, 2009 at 3:47 PM, Elena Garrulo<egarrulo@gmail.com (egarrulo@gmail.com)> 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.
Guest
Posted: Sat Aug 22, 2009 10:50 pm Reply with quote
Guest
Marc 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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist
Guest
Posted: Sun Aug 23, 2009 2:23 am Reply with quote
Guest
Building erlang from source un Ubuntu is a breeze. I especially
Quote:
like:

# apt-get build-dep erlang


Thanks for that hint.

It worked after I took the /etc/apt/sources.list file and added "deb-src .." entries plus issued "apt-get update" afterwards.

Regards,
Marc

Post received from mailinglist

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