[Fwd: Re: [ejabberd] configure cannot find erlang at /usr/local/bin]

jsiegle jsiegle at psu.edu
Tue Jan 25 16:48:52 MSK 2005


Just to keep the thread moving, /usr/local/bin wasn't in his path so 
that solved that problem. I've seen this linker/compilation error on 
Solaris as well. I'll be looking at this later in the week unless 
someone already got past this make error. 


-------- Original Message --------
Subject: 	Re: [ejabberd] configure cannot find erlang at /usr/local/bin
Date: 	Mon, 24 Jan 2005 13:20:09 -0800 (PST)
From: 	Dinos Liolios <dinos007 at yahoo.com>
To: 	jsiegle <jsiegle at psu.edu>



Hi J,

I thought I had /usr/local/bin in the PATH but
apparently I was wrong.  Anyways the configure script
finishes succesfully but now the make script breaks:

gcc -Wall -g -O2   \
                expat_erl.c \
                -lexpat  \
               
-L/usr/local/lib/erlang/lib/erl_interface-3.5/lib
-lerl_interface -lei
-I/usr/local/lib/erlang/lib/erl_interface-3.5/include
-I/usr/local/lib/erlang/usr/includ\
e \
                -o expat_erl.so -fpic -shared
gcc: unrecognized option `-shared'
cc1: warning: -fpic is not supported; -fPIC assumed
expat_erl.c: In function
`ei_x_encode_string_len_fixed':
expat_erl.c:81: warning: implicit declaration of
function `x_fix_buff'
ld: Undefined symbols:
_main
_driver_alloc
_driver_alloc_binary
_driver_free
_set_port_control_flags
make: *** [expat_erl.so] Error 1

Were you able to reproduce this?

Thanx in advance
Dinos

--- jsiegle <jsiegle at psu.edu> wrote:

> Not a problem.  Maybe I made it too easy to solve.
> Try blowing away your 
> build tree and then untarring the tree and then
> making sure 
> /usr/local/bin is in your path then run configure...
> 
> Dinos Liolios wrote:
> 
> >Thanx for the effort though.  I will try it once
> again
> >to see if I did something stupid.  My erl got
> >installed at /usr/local/bin/erl
> >
> >Dinos
> >
> >
> >--- jsiegle <jsiegle at psu.edu> wrote:
> >
> >  
> >
> >>Dinos Liolios wrote:
> >>
> >>    
> >>
> >>>Hey guys!
> >>>
> >>>I instanlled Erlang on a G5 running Darwin/OS X
> and
> >>>now I am running the configure script for
> ejabberd
> >>>      
> >>>
> >>but
> >>    
> >>
> >>>I get: 
> >>>
> >>>configure: error: erlang not found
> >>>
> >>>Looking at config.log I see:
> >>>
> >>>configure:1971: checking whether make sets
> ${MAKE}
> >>>configure:1991: result: yes
> >>>configure:2055: checking for erlc
> >>>configure:2088: result: no
> >>>configure:2142: checking for erl
> >>>configure:2175: result: no
> >>>configure:2186: error: erlang not found
> >>>
> >>>I even tried ./configure
> >>>      
> >>>
> >>--with-erlang=/usr/local/bin
> >>    
> >>
> >>>and ever /usr/local but for some reason the
> >>>      
> >>>
> >>configure
> >>    
> >>
> >>>script cannot see it.
> >>>
> >>>      
> >>>
> >>I reproduced your problem using either
> ejabberd-0.7
> >>or ejabberd from cvs 
> >>on both OSX 10.3.x and Sun Solaris 2.9. I solved
> the
> >>problem by adding 
> >>/usr/local/bin to my path.
> >>
> >>-Jonathan
> >>
> >>
> >>
> >>    
> >>
> >
> >  
> >
> >>ATTACHMENT part 1.2 application/x-pkcs7-signature
> >>    
> >>
> >name=smime.p7s
> >  
> >
> >>_______________________________________________
> >>ejabberd mailing list
> >>ejabberd at jabber.ru
> >>http://lists.jabber.ru/mailman/listinfo/ejabberd
> >>
> >>    
> >>
> >
> >  
> >
> 
> 

> ATTACHMENT part 2 application/x-pkcs7-signature
name=smime.p7s



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3385 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.jabber.ru/pipermail/ejabberd/attachments/20050125/68329ee2/smime.bin


More information about the ejabberd mailing list