Re: [Zotonic-Usr] FOuten tijdens make op Mac OS X Lion (10.7.4)

18 views
Skip to first unread message

Marc Worrell

unread,
Jul 10, 2012, 4:46:20 PM7/10/12
to zotoni...@googlegroups.com
Hoi Jan-Willen,

Did you (or make) fetch all git submodules?

git submodule init

As I don't see the build from those submodules in your make log.

Best,

Marc

PS. Make sure to use R14B and not R15B, as iconv doesn't work with R15B. We are looking into replacing it with a iconv library by Maas.

On 10 jul. 2012, at 21:27, Jan Willem Luiten wrote:

> Net Lion geïnstalleerd op mijn Mac (en een upgrade van het memory naar 16GB, dat werd tijd!).
>
> Nieuwe versie van Zotonic van GitHub gehaald maar ik krijg foutmeldingen tijdens make. Voor details zie attachment.
>
> Groet,
>
> Jan Willem.
> <zotonic_build.txt>

Jan Willem Luiten

unread,
Jul 11, 2012, 4:03:12 PM7/11/12
to zotoni...@googlegroups.com
Thanks for the quick response.
After picking up the sources via GIT I was able to make. Download of the ZIP-file just didn't cut it.

Cordially,

Jan Willem.


Op dinsdag 10 juli 2012 21:27:16 UTC+2 schreef Jan Willem Luiten het volgende:

Arjan Scherpenisse

unread,
Jul 11, 2012, 4:42:23 PM7/11/12
to zotoni...@googlegroups.com, Jan Willem Luiten
Did you download a zipfile from github? (e.g. from one of the tags?)
That wont work indeed since the submodules will not be in the zipfile...

The zipfiles on google code should work, though:
http://code.google.com/p/zotonic/downloads/list

Arjan

Jan Willem Luiten

unread,
Jul 11, 2012, 5:11:58 PM7/11/12
to zotoni...@googlegroups.com
I'm fairly sure I downloaded the zip from Google.
Anyway, git clone worked fine.

The installation now seems to be missing twitter bootstrap or at least parts of it. Using chrome, inspect element and then click the "network" tab shows the following resource wasn't found:

COrdially,

Jan Willem

BTW Arjan: Will you be attending EUG-NL at Spil Games tomorrow?

Marc Worrell

unread,
Jul 11, 2012, 5:58:39 PM7/11/12
to zotoni...@googlegroups.com
Hi Jan Willem,

The 0.9 is a work in progress :)

Try enabling the mod_base_site, that one has most bootstrap files in there.
You can do it from the Erlang shell:

z_module_manager:activate(mod_base_site, z:c(yoursitenamehere)).

Which page are you looking at that misses the file?  The logon page?

- Marc

Jan Willem Luiten

unread,
Jul 12, 2012, 4:14:09 AM7/12/12
to zotoni...@googlegroups.com
The admin pages look good. But the site looks bad. Dark text on a dark banner.

started erl from zotonic's ebin directory, tried:
z_module_manager:activate(mod_base_site, z:c(yoursitenamehere)).

and was rewarded with:
** exception exit: {noproc,{gen_server,call,['z_trans_server$depot',table]}}
     in function  gen_server:call/2 (gen_server.erl, line 180)
     in call from z_trans_server:table/1 (src/i18n/z_trans_server.erl, line 71)
     in call from z_context:set_server_names/1 (src/support/z_context.erl, line 206)
     in call from z_context:new/1 (src/support/z_context.erl, line 152)
2> 

Next i tried 'zotonic installmodule mod_base_site

This resulted in:
Getting module index
** Invalid module name: mod_base_Site

Anyway, it's only appearance giving me problems. Site is fully functional so I'll be able to play around.

Marc Worrell

unread,
Jul 12, 2012, 4:15:37 AM7/12/12
to zotoni...@googlegroups.com

On 12 jul. 2012, at 10:14, Jan Willem Luiten wrote:
> Next i tried 'zotonic installmodule mod_base_site
>
> This resulted in:
> Getting module index
> ** Invalid module name: mod_base_Site

With a capital S?
The name should be with a lower case s.

- Marc

Arjan Scherpenisse

unread,
Jul 12, 2012, 4:21:03 AM7/12/12
to zotoni...@googlegroups.com
mod_base_site is not an external module (which the 'installmodule'
command is for).

You should activate it in the admin.
Go to http://yourhost:8000/admin/logon for the admin logon screen.

Arjan

Jan Willem Luiten

unread,
Jul 12, 2012, 6:48:10 AM7/12/12
to zotoni...@googlegroups.com
Hello Arjan,

Thanks for pointing out the difference. I took some time to RTFM and was able to activate mod_base_site. Had a glance at some templates and saw where bootstrap is supposed to be installed.

BTW, there's a typo in base.tpl which refers to bootstrap/css/bootstrap.responsive.min.css where it should
refer to bootstrap/css/bootstrap-responsive.min.css (or at least thats's what the file is called in the bootstrap distro
I picked up).

Op donderdag 12 juli 2012 10:21:03 UTC+2 schreef Arjan Scherpenisse het volgende:

Op donderdag 12 juli 2012 10:21:03 UTC+2 schreef Arjan Scherpenisse het volgende:

Arjan Scherpenisse

unread,
Jul 12, 2012, 7:31:39 AM7/12/12
to zotoni...@googlegroups.com
Thanks for spotting the error, pull requests welcome :-D

As Marc said, 0.9 is in flux now (with regard to creating sites from the
skel templates). It will take probably another month or so for it to
stabilize.

Arjan
Reply all
Reply to author
Forward
0 new messages