Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Cannot add site

Received: by 10.236.161.8 with SMTP id v8mr6213057yhk.18.1348853932342;
        Fri, 28 Sep 2012 10:38:52 -0700 (PDT)
X-BeenThere: zotonic-users@googlegroups.com
Received: by 10.236.154.170 with SMTP id h30ls7364135yhk.7.gmail; Fri, 28 Sep
 2012 10:38:51 -0700 (PDT)
Received: by 10.236.84.225 with SMTP id s61mr6155880yhe.11.1348853931746;
        Fri, 28 Sep 2012 10:38:51 -0700 (PDT)
Received: by 10.236.84.225 with SMTP id s61mr6155877yhe.11.1348853931733;
        Fri, 28 Sep 2012 10:38:51 -0700 (PDT)
Return-Path: <mworr...@me.com>
Received: from st11p02mm-asmtp004.mac.com (st11p02mm-asmtpout004.mac.com. [17.172.220.239])
        by gmr-mx.google.com with ESMTP id c5si1049966anq.3.2012.09.28.10.38.51;
        Fri, 28 Sep 2012 10:38:51 -0700 (PDT)
Received-SPF: pass (google.com: domain of mworr...@me.com designates 17.172.220.239 as permitted sender) client-ip=17.172.220.239;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of mworr...@me.com designates 17.172.220.239 as permitted sender) smtp.mail=mworr...@me.com
MIME-version: 1.0
Content-type: text/plain; charset=windows-1252
Received: from [192.168.1.16]
 (5469A6C2.cm-12-2c.dynamic.ziggo.nl [84.105.166.194])
 by st11p02mm-asmtp004.mac.com
 (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Jan
  3 2012)) with ESMTPSA id <0MB200K4ZMCDM...@st11p02mm-asmtp004.mac.com> for
 zotonic-users@googlegroups.com; Fri, 28 Sep 2012 17:38:41 +0000 (GMT)
X-Proofpoint-Virus-Version: vendor=fsecure
 engine=2.50.10432:5.7.7855,1.0.431,0.0.0000
 definitions=2012-09-28_06:2012-09-28,2012-09-28,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
 ipscore=0 suspectscore=33 phishscore=0 bulkscore=0 adultscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1203120001
 definitions=main-1209280202
Subject: Re: [Zotonic-Usr] Re: Cannot add site
From: Marc Worrell <mworr...@me.com>
In-reply-to: <50655DD8.4050503@scherpenisse.net>
Date: Fri, 28 Sep 2012 19:38:36 +0200
Content-transfer-encoding: quoted-printable
Message-id: <47A61AA4-B34B-4532-9145-5B325656C...@me.com>
References: <c586fc87-7f39-449a-9423-8922e6a17345@googlegroups.com>
 <5607ef89-eb62-40c9-8f5d-6fa30941e42c@googlegroups.com>
 <4e6893c0-50ff-46d3-b404-fbcb21877397@googlegroups.com>
 <2e7652d0-68f9-4a4c-9f80-508daada8dff@googlegroups.com>
 <22e3c4d1-3627-44ca-82a6-f36d2671c11e@googlegroups.com>
 <bb6d5bc1-ae0b-4ea7-810c-485ba2ab2cbd@googlegroups.com>
 <24b1434d-dda8-41f9-8097-52f3e581cd51@googlegroups.com>
 <4b5baac1-2dbf-4166-a2c9-e138d404006b@googlegroups.com>
 <CABCxKrcH-8tNP6gRB2CAKqv8QPmLzJzLEuJa9WrbfU2GB5_...@mail.gmail.com>
 <50654BD1.2090...@scherpenisse.net>
 <CABCxKrfZTa3L9WjcB+WEpDGB-YHC3naoPYvhOBVGs5hg0iR...@mail.gmail.com>
 <50655DD8.4050...@scherpenisse.net>
To: zotonic-users@googlegroups.com
X-Mailer: Apple Mail (2.1278)

And now on my OS X 10.7 machine, where I installed R14B04 from source:

Lamma:~ marc$ which erl_call
Lamma:~ marc$ which erl
/usr/local/bin/erl
Lamma:~ marc$ which erl_call
Lamma:~ marc$ locate erl_call
=
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Devel=
oper/SDKs/MacOSX10.6.sdk/usr/include/apache2/modperl_callback.h
=
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Devel=
oper/SDKs/MacOSX10.7.sdk/usr/include/apache2/modperl_callback.h
/Developer/SDKs/MacOSX10.5.sdk/usr/include/apache2/modperl_callback.h
/Developer/SDKs/MacOSX10.6.sdk/usr/include/apache2/modperl_callback.h
/usr/include/apache2/modperl_callback.h
/usr/local/lib/erlang/lib/erl_interface-3.7.3/bin/erl_call
/usr/local/lib/erlang/lib/erl_interface-3.7.3/src/prog/erl_call.c
/usr/local/lib/erlang/lib/erl_interface-3.7.4/bin/erl_call
/usr/local/lib/erlang/lib/erl_interface-3.7.4/src/prog/erl_call.c
/usr/local/lib/erlang/lib/erl_interface-3.7.5/bin/erl_call
/usr/local/lib/erlang/lib/erl_interface-3.7.5/src/prog/erl_call.c


Seems that erl_call is not always installed=85. at least not in the same =
path when doing a 'make install'
Arjan, how did you install erlang on your machine?

- Marc



On 28 sep. 2012, at 10:20, Arjan Scherpenisse wrote:

> > ls -la `which erl_call`
> lrwxrwxrwx 1 root root 51 Sep  4 12:38 /usr/bin/erl_call -> =
../lib/erlang//lib/erl_interface-3.7.8/bin/erl_call
>=20
>=20
>=20
> On 09/28/2012 09:19 AM, Andreas Stenius wrote:
>> I take it It's on your path then... ?
>>=20
>> Strange indeed. Perhaps if you installed it using some package =
manager,
>> that the packager added a symlink or something for erl_call to a bin
>> directory that's in your path.. ?
>>=20
>> 2012/9/28 Arjan Scherpenisse <ar...@scherpenisse.net
>> <mailto:ar...@scherpenisse.net>>
>>=20
>>    Strange, I always assumed erl_call was on the path. I guess we
>>    should do some magic to determine where erl_call is when its not =
on
>>    the path...
>>=20
>>=20
>>    On 09/27/2012 10:55 PM, Andreas Stenius wrote:
>>=20
>>        As Greg pointed out, it's located in the bin dir of =
erl_interface.
>>=20
>>        On my system, it's in
>>        /usr/lib/erlang/lib/erl___interface-3.7.7/bin so a
>>        slightly different version...
>>=20
>>        Online docs for erl_call is here:
>>        http://www.erlang.org/doc/man/__erl_call.html
>>        <http://www.erlang.org/doc/man/erl_call.html>
>>=20
>>        And it was those docs that hinted for me where to look for it =
;)
>>=20
>>        //Andreas
>>=20
>>        2012/9/27 Amiramix <li...@gjunka.com <mailto:li...@gjunka.com>
>>        <mailto:li...@gjunka.com <mailto:li...@gjunka.com>>>
>>=20
>>=20
>>             In my case erl_call could be found in this path:
>>=20
>>             =
/usr/local/lib/erlang/lib/erl___interface-3.7.5/bin/erl_call
>>=20
>>             whereas all other erlang binaries are in this path:
>>=20
>>             /usr/local/bin/
>>=20
>>             I think location of erl_call may be system specific. Did
>>        you compile
>>             Erlang yourself or downloaded as a package? I would try
>>        something like:
>>=20
>>             cd /
>>             find . | grep erl_call
>>=20
>>             You could also try "man erl_call" to see if the system =
knows
>>             anything about it.
>>=20
>>=20
>>             On Thursday, September 27, 2012 9:29:15 PM UTC+1, Alexey
>>        Marunin wrote:
>>=20
>>                 I restarted my server.
>>=20
>>                 zotonic@helentana-dev:~/____zotonic/0.9.0/bin$
>>        ./zotonic addsite
>>=20
>>                 -d helentana_zotonic -u grome -P ******** -s blog =
helentana
>>                 Warning!
>>                 Site: 'helentana' cannot be reached.
>>                 Command 'host helentana' must resolve to an IP =
address,
>>                 otherwise you won't be able to reach it after
>>        installing the site.
>>                 You can fix that by adding the following line to
>>        /etc/hosts:
>>=20
>>                 127.0.0.1         helentana
>>=20
>>=20
>>                 =3D=3D=3D=3D Add site =3D=3D=3D=3D
>>=20
>>                   Site name: helentana
>>                   Site directory:
>>        /home/zotonic/zotonic/0.9.0/____priv/sites/helentana
>>=20
>>                   Skeleton site: blog
>>=20
>>                   Database host: 127.0.0.1
>>                   Database port: 5432
>>                   Database user: grome
>>                   Database password: ********
>>                   Database name: helentana_zotonic
>>                   Database schema: public
>>                   Admin password: ********
>>=20
>>                  >>> Hit return to proceed...
>>                 ~/zotonic/0.9.0/src/scripts =
~/zotonic/0.9.0/src/scripts
>>                 ~/zotonic/0.9.0/src/scripts
>>                 Building site...
>>=20
>>        /home/zotonic/zotonic/0.9.0/____src/scripts/zotonic-addsite: =
line
>>=20
>>                 85: erl_call: command not found
>>                 Starting...
>>=20
>>        /home/zotonic/zotonic/0.9.0/____src/scripts/zotonic-addsite: =
line
>>=20
>>                 93: erl_call: command not found
>>=20
>>                 Added site helentana. Now go to =
http://helentana:8000/
>>        to view it.
>>                 Then I edited config-file - set hostname as
>>        helentana-dev.ru <http://helentana-dev.ru>
>>                 <http://helentana-dev.ru>
>>=20
>>=20
>>=20
>>                 Now example site successfully load :) But no =
picture...
>>        I think
>>                 because of old version ImageMagick
>>=20
>>                 Last question - why erl_call not found?
>>=20
>>=20
>>=20
>>=20