I am ignoring the server side stuff right now, and am attempting to
build just the flashclient, assuming (wrongly?) the builds are
independent.
-First first error I get is setting SRC in the Makefile. I get "find: -
xtype: unknown option" error (twice). The problem is in the previous
'foreach' expression, since when I insert another option in front of
xtype (ie -true), that gets the unknown option error. All my attempts
to find out what's going on with that 'foreach' expression failed
utterly. However, this error does not seem to prevent me from building
the files in the directory.
-There are some "svn: '.' is not a working copy" errors, which is
probably do to there being no subversion repositories--Once again, it
doesn't seem to be a problem.
-I hacked fcsh-wrap to hardcode the path to fcsh; it appears to run
quite well.
-The file build/main.mxml couldn't find main.css, because, well it's
one directory up. What isn't set that should be?
To get a little further, I hacked the Makefile and changed OUT to "."
which seemed to work; I did get farther.
-Now, on most of the files, I get the same error: "Error: Call to a
possibly undefined method m4_ASSERT." It's the only error I'm getting.
Any ideas?
Jim
Hi Jim!
My high-level advice would be: install Ubuntu in a virtual machine, and
install Cyclopath there. Otherwise, you have two problems - installing a
complex system which is a known very difficult install, and doing so in
a brand-new environment - which will be quite difficult to untangle. I'm
pretty sure there are free virtual machines out there; perhaps other
team members can suggest one.
> I am ignoring the server side stuff right now, and am attempting to
> build just the flashclient, assuming (wrongly?) the builds are
> independent.
Actually no, but the pyserver depends on the flashclient, so you picked
the right one. :)
> -First first error I get is setting SRC in the Makefile. I get "find: -
> xtype: unknown option" error (twice). The problem is in the previous
> 'foreach' expression, since when I insert another option in front of
> xtype (ie -true), that gets the unknown option error. All my attempts
> to find out what's going on with that 'foreach' expression failed
> utterly.
I suspect some incompatibility in make, or find. It would be useful to
know what the shell command is, obviously. If I were debugging this, I'd
create a short dummy makefile focused on this part and then use echo to
try to get some state.
> However, this error does not seem to prevent me from building
> the files in the directory.
Well, it's preventing you from running m4, which is why you get other
errors below. The purpose of build/ is so we can run m4 on each file,
which fills in the m4_ASSERT() macro.
> -There are some "svn: '.' is not a working copy" errors, which is
> probably do to there being no subversion repositories--Once again, it
> doesn't seem to be a problem.
I'd comment the svn calls out and substitute dummy values. They're in
build_id.pl.
> -I hacked fcsh-wrap to hardcode the path to fcsh; it appears to run
> quite well.
I'd suggest adding the Flex bin directory to your path instead.
> -The file build/main.mxml couldn't find main.css, because, well it's
> one directory up. What isn't set that should be?
>
> To get a little further, I hacked the Makefile and changed OUT to "."
> which seemed to work; I did get farther.
>
> -Now, on most of the files, I get the same error: "Error: Call to a
> possibly undefined method m4_ASSERT." It's the only error I'm getting.
> Any ideas?
These last errors cascade from the first one. :)
My other high-level advice is: understand each problem before going on
to the next one. Some can indeed be simply papered over, but others
really do need to be fixed, and if you don't, the later errors might not
be real and working on them would not be fruitful.
Thanks for downloading the source code and trying it out! I'm sure
you'll be able to get it working eventually. Let us know what other
questions you have (though sadly I'm sure we'll be of little help in
figuring out OS X issues).
HTH,
Reid
--
You received this message because you are subscribed Cyclopath Development.
To post to this group: send email to cyclop...@googlegroups.com
To read this group on the Web: http://groups.google.com/group/cyclopath-dev
To unsubscribe from this group: send email to
cyclopath-de...@googlegroups.com
This should solve another problem I had; I should be able to install
the Apache server right on virtual box, right? I didn't want to
install a server straight on my OSX for security and stability
concerns, possible through my utter lack of knowledge of how to
properly install and setup servers. Now everything can be put in the
virtual box, walled off and turned off whenever not being used.
So I should be able to install the complete CP system (sans an
existing database).
Thanks again,
Jim
P.S. Attempting to hack my way through the build scripts was not a
waste of time, even if it proved fruitless; it increases my working
knowledge of both Unix/Linux and CP quite rapidly.
On Feb 3, 10:29 am, Landon Bouma <land...@cs.umn.edu> wrote:
> Jim,
>
> I agree with Reid about the virtual machine. I've been running VirtualBox
> inside Windows Vista at home and I love it! None of the Linux distros work
> 100% with my hardware anyway, so I have no choice but to run a virtual
> machine, but I actually prefer it as a solution. The speed is comparable to
> native, and the ability to take snapshots is great -- whenever I screw
> something up, it's nice knowing I can quickly restore a snapshot and try
> again.
>
> http://www.virtualbox.org/
>
> Also, I'm currently documenting a fresh installation of Cyclopath, since I
> just installed it on a new Ubuntu box. I'll get this up by the end of the
> week and send you a link.
>
> Sincerely,
>
> Landon
>
> > cyclopath-de...@googlegroups.com<cyclopath-dev%2Bunsu...@googlegroups.com>
>
>
I think you'll probably be OK. Ubuntu tries to be fairly accessible.
FWIW, we currently use 8.04 and are probably looking to upgrade to 9.04
sometime in the next few months.
> This should solve another problem I had; I should be able to install
> the Apache server right on virtual box, right?
Yes, you'll install everything in the virtual machine. You can probably
set it up so that you can use your dev install from the host machine, or
from within the virtual machine if you prefer.
> P.S. Attempting to hack my way through the build scripts was not a
> waste of time, even if it proved fruitless; it increases my working
> knowledge of both Unix/Linux and CP quite rapidly.
OK, good to hear! :)
Reid
Thanks for the version info. I guessing it'll take me a day (or more)
just to install the packages, so the instructions will arrive just
about the right time. If not, I just proceed with the old
instructions.
Good news: I (just) got Flashclient built! I even ran it in a browser
and got the interface displayed (along with continuous complaints
about no connection, of course).
Thanks again,
Jim
On Feb 8, 1:20 pm, Landon Bouma <land...@cs.umn.edu> wrote:
> Hi, Jim,
>
> Sorry for the late reply; this weekend was extremely busy, and, yeah, on
> Friday I spent all my time coding and didn't get around to the instructions
> until late. I hope to have them posted within 24 hours, but I won't vouch
> for their accuracy until I test them, i.e., I want to install a fresh Ubuntu
> in VirtualBox and go through the instructions to make sure they're complete.
>
> Our production server is running Apache 2.2.8, Python 2.5.2, Psql 8.2.7, and
> has PostGIS 1.3.6 installed. I think you can run Python 2.6 no problem. Psql
> 8.3 also works if you edit scripts/permissions-cleanup.sh and change '8.2'
> to '8.3'.
>
> Hope that helps!!
>
> Landon
>
Yay!! :)
Reid