| Author |
Message |
|
| ketralnis |
Posted: Sun Aug 19, 2007 2:27 am |
|
|
|
User
Joined: 20 Jul 2007
Posts: 151
Location: San Francisco, CA
|
I guess this is more of a yaws question:
I have Erlang installed in /opt/local, with the libraries all in /opt/
local/lib/erlang/lib (under which are mnesia-$VERSION, stdlib-
VERSION, etc). Previously, I had erlyweb in /opt/local/lib/erlang/lib/
erlyweb-$VERSION alongside all of the other libraries, and it worked
well calling yaws with "yaws -i -pa /opt/local/lib/erlang/
lib" (although I can't swear that that is the proper path, it was
working )
However, now I'm wanting to run erlyweb out of the svn trunk and have
it set as an svn:external to one of my own projects. So I have all of
the regular system libraries in /opt/local/lib/erlang/lib, and
erlyweb (under which is doc, ebin, src, etc) is in /Users/dking/
myapp. And now I can't seem to find the magic incatation to make yaws
able to find erlyweb (and by that I mean that erlyweb:compile dies
with "exited: {undef,[{erlyweb,compile...").
I currently am calling yaws with:
yaws -i -pa /opt/local/lib/erlang:/Users/dking/myapp/erlyweb
And in yaws.conf I have:
include_dir = /opt/local/lib/erlang
include_dir = /Users/dking/myapp/erlyweb/src
But that doesn't seem to be working. So how can I give a list of all
of the locations to bind .beam files and .erl/.hrl files, and when I
give one of those locations, is it expecting a path that ends in ebin
(or src), or a path directly under which is ebin, or something else?
Let me know if my question isn't clear
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Sun Aug 19, 2007 1:52 pm |
|
|
|
Guest
|
Is erlyweb compiled? Also, your include_dir is pointing to the
erlyweb/src. Is this correct? Shouldn't it be pointing at erlyweb/
ebin where the beam files are?
Anyway, you don't need to add the path to erlang to yaws (not that it
hurts). Yaws should find the erlang libs without that (or something
else is wrong). Also, I wouldn't check out erlyweb underneath myapp.
It is better to check it out and compile erlyweb in another directory
and add the path to yaws like -pa /Uses/dking/erlyweb/ebin (note that
the path must point to the directory in which the beam files reside).
Or you can just checkout erlyweb into your erlang lib and compile it
there (/opt/local/lib/erlang/lib/erlyweb) then erlyweb/ebin will be
found automagically...
On Aug 18, 10:26 pm, David King <dk...@ketralnis.com> wrote:
> I guess this is more of a yaws question:
>
> I have Erlang installed in /opt/local, with the libraries all in /opt/
> local/lib/erlang/lib (under which are mnesia-$VERSION, stdlib-
> VERSION, etc). Previously, I had erlyweb in /opt/local/lib/erlang/lib/
> erlyweb-$VERSION alongside all of the other libraries, and it worked
> well calling yaws with "yaws -i -pa /opt/local/lib/erlang/
> lib" (although I can't swear that that is the proper path, it was
> working )
>
> However, now I'm wanting to run erlyweb out of the svn trunk and have
> it set as an svn:external to one of my own projects. So I have all of
> the regular system libraries in /opt/local/lib/erlang/lib, and
> erlyweb (under which is doc, ebin, src, etc) is in /Users/dking/
> myapp. And now I can't seem to find the magic incatation to make yaws
> able to find erlyweb (and by that I mean that erlyweb:compile dies
> with "exited: {undef,[{erlyweb,compile...").
>
> I currently am calling yaws with:
>
> yaws -i -pa /opt/local/lib/erlang:/Users/dking/myapp/erlyweb
>
> And in yaws.conf I have:
> include_dir = /opt/local/lib/erlang
> include_dir = /Users/dking/myapp/erlyweb/src
>
> But that doesn't seem to be working. So how can I give a list of all
> of the locations to bind .beam files and .erl/.hrl files, and when I
> give one of those locations, is it expecting a path that ends in ebin
> (or src), or a path directly under which is ebin, or something else?
> Let me know if my question isn't clear
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Aug 20, 2007 12:46 pm |
|
|
|
Guest
|
On Aug 18, 10:26 pm, David King <dk...@ketralnis.com> wrote:
> I currently am calling yaws with:
>
> yaws -i -pa /opt/local/lib/erlang:/Users/dking/myapp/erlyweb
Unless I'm mistaken, -pa doesn't understand colon-delimited lists of
paths. Instead, give each path its own -pa. So, you'd have:
yaws -i -pa /opt/local/lib/erlang -pa /Users/dking/myapp/
erlyweb
There is also an ebin_dir option in yaws.conf that may do what you
need.
> And in yaws.conf I have:
> include_dir = /opt/local/lib/erlang
> include_dir = /Users/dking/myapp/erlyweb/src
If you ever get include paths figured out, please post your solution.
I finally ended up just symlinking the header files I needed in a path
I knew yaws/erlyweb could find. I'm still on ErlyWeb 0.5, though.
-Bryan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post recived from mailinglist |
|
|
| Back to top |
|
| ketralnis |
Posted: Mon Aug 20, 2007 4:18 pm |
|
|
|
User
Joined: 20 Jul 2007
Posts: 151
Location: San Francisco, CA
|
> On Aug 18, 10:26 pm, David King <dk...@ketralnis.com> wrote:
>> I currently am calling yaws with:
>> yaws -i -pa /opt/local/lib/erlang:/Users/dking/myapp/erlyweb
> Unless I'm mistaken, -pa doesn't understand colon-delimited lists of
> paths. Instead, give each path its own -pa. So, you'd have:
> yaws -i -pa /opt/local/lib/erlang -pa /Users/dking/myapp/erlyweb
> There is also an ebin_dir option in yaws.conf that may do what you
> need.
>> And in yaws.conf I have:
>> include_dir = /opt/local/lib/erlang
>> include_dir = /Users/dking/myapp/erlyweb/src
> If you ever get include paths figured out, please post your solution.
> I finally ended up just symlinking the header files I needed in a path
> I knew yaws/erlyweb could find. I'm still on ErlyWeb 0.5, though.
I did get this figured out, so here's my solution for Bryan and for
the archives. The important bit was that the -pa path needs to end in
ebin. yaws does automatically use the erlang stdlib path (in my
case, /opt/local/lib/erlang), so I didn't need to include that
anywhere. These paths are all on my MacBook Pro running OS X 10.4,
which erlang and yaws installed through MacPorts. While I have
literal paths here, I actually use environment variables to store
these, and recommend that you do the same, as it will make deployment
much easier.
I have erlyweb/ in /Users/dking/myapp/lib (as an svn:external). So in
yaws.conf I have:
include_dir = /Users/dking/myapp/lib/erlyweb/ebin
And I call yaws with:
yaws -i --conf /Users/dking/myapp/yaws.conf -pa /Users/dking/myapp/
lib/erlyweb/ebin
I'm not sure if both the entry in yaws.conf and as a -pa argument are
required, but it does work for me, and if I get the directory in
yaws.conf wrong, it dies saying that it's not a valid directory. So
if you have it there, it must be right . I can compile my app with
erlyweb:compile(Appdir,[native,debug_info,{erlydb_driver,mnesia},
{auto_compile,true}]).
Where Appdir is set to
/Users/dking/myapp
erlyweb's ebin directory *must* be populated (that is, it must
have .beam files in it), which is a matter of going to /Users/dking/
myapp/lib/erlyweb and typing "make" or "erl -make". I had to modify
erlyweb's Emakefile changing:
{"src/erlyweb/*", [debug_info, {outdir, "ebin"}, {i,"/usr/local/
src/yaws/include"}]}.
to
{"src/erlyweb/*", [debug_info, {outdir, "ebin"}, {i,"/opt/local/
lib/yaws/include"}]}.
in order to get erlyweb to compile, but after that it worked just fine.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post recived from mailinglist |
|
|
| Back to top |
|
| wailian |
Posted: Tue Mar 20, 2012 2:51 am |
|
|
|
Guest
|
| One of them is the Ugg bailey button boot which has classic and uniquely designed buttons on its body to give that elegant and luxurious look. It has a fantastic look and this includes the Bailey Triplet Boot which has 3 buttons. These boots have a shaft (the upper part of the boot) which can be turned up or turned down depending upon your need. These buttons are both for style or decoration along with being functional or usable as well. |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
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 cannot attach files in this forum You cannot download files in this forum
|
|
|