Absolute path when using erlc on windows errors out.
Vladimir Sekissov
svg@REDACTED
Fri Nov 15 22:28:19 CET 2002
Hi,
> I will get an "erc: Error executing 'C:\Program':22"
It seems for me that erlc couldn't find ecc in the path.
Best Regards,
Vladimir Sekissov
per> Hi,
per>
per> The "known" problem may not be "known" to OTP support since
per> it has never been officially reported.
per> At that time, at least, they worked around the problem by using
per> 8.3 versions of the directory names in the registry entries.
per> It did however not solve the problem with using erlc from a normal
per> Makefile. Adding the binary directory (short version) to your path did
per> though.
per>
per> I searched the list archieve but I could not find any submission from
per> my former me ... If anyone who received a copy from me still have it
per> please let me know.
per>
per> /Per
per>
per> P.S.
per> If there is still somebody at CellPoint reading this list and you
per> haven't reformatted my old harddrive D:\build is a good starting point
per> .....
per> D.S.
per>
per> > Thanks Thomas, Per;
per> >
per> >
per> > Moving it out of Program Files and into another
per> > directory fixed the problem. The question I do have
per> > is, considering this is a known problem is it such a
per> > good idea for the default install to go into 'Program
per> > Files'? Just curious,
per> >
per> > Thanks,
per> > Eric
per> > --- Per Bergqvist <per@REDACTED> wrote:
per> > > Hi,
per> > >
per> > >
per> > >
per> > > This is a well known problem under windows and is
per> > > caused by incorrect
per> > > qouting of parameters in Erlang (and yes, in the end
per> > > caused by MS as
per> > > everything else ...).
per> > >
per> > >
per> > >
per> > > A couple of years ago I posted a kit for native
per> > > building of Erlang on
per> > > windows using cygwin.
per> > >
per> > > Included was a corrected version of argument
per> > > quoting.
per> > >
per> > >
per> > > Unfortunately I didn't bring anything when leaving
per> > > that job so if
per> > > somebody have a copy of the posting you can probably
per> > > move it up
per> > > to R9 with ease.
per> > >
per> > > (And please send me a copy).
per> > >
per> > >
per> > >
per> > > /Per
per> > >
per> > >
per> > >
per> > > > This looks like a simple MSDos error. The space
per> > > between Program and
per> > > Files is
per> > >
per> > > > not parsed correctly. I have no Windows 2000 to
per> > > experience with, but
per> > > > brobably you can
per> > >
per> > > > put erlc in a different path and see if the
per> > > problem remains.
per> > > >
per> > >
per> > > > /Thomas
per> > >
per> > > >
per> > >
per> > > >
per> > >
per> > > > ---
per> > >
per> > > > FMICS 03, June 5-7 in Trondheim.
per> > >
per> > > > Call for papers:
per> > > http://www.inrialpes.fr/vasy/fmics/workshop-8/
per> > > >
per> > >
per> > > >
per> > >
per> > > > Dr Thomas Arts
per> > >
per> > > > Program Manager
per> > >
per> > > > Software Engineering and Management
per> > >
per> > > > IT-university of Gothenburg
per> > >
per> > > > Box 8718, 402 75 Gothenburg, Sweden
per> > >
per> > > >
per> > >
per> > > > Tel +46 31 772 6031
per> > >
per> > > > Fax +46 31 772 4899
per> > >
per> > > >
per> > >
per> > > >
per> > >
per> > > > ----- Original Message -----
per> > >
per> > > > From: "Eric Merritt" <cyberlync@REDACTED>
per> > >
per> > > > To: <erlang-questions@REDACTED>
per> > >
per> > > > Sent: Saturday, November 09, 2002 11:18 PM
per> > >
per> > > > Subject: Absolute path when using erlc on windows
per> > > errors out.
per> > > >
per> > >
per> > > >
per> > >
per> > > > > Everyone,
per> > >
per> > > > >
per> > >
per> > > > > I have what I hope is a quick question for you
per> > > all.
per> > > > > It seems that when I use a full path to execute
per> > > the
per> > > > > erlc command on windows 2000 it errors out. It
per> > > works
per> > > > > just fine in other cases however. For example if
per> > > I use
per> > > > >
per> > >
per> > > > > "C:\Program Files\erl5.2\bin\erlc.exe"
per> > >
per> > > > > some_erlang_file.erl
per> > >
per> > > > >
per> > >
per> > > > > I will get an "erc: Error executing
per> > > 'C:\Program':22"
per> > > > >
per> > >
per> > > > > Once again it works fine if I leave the path off
per> > > of
per> > > > > the erlc command.
per> > >
per> > > > >
per> > >
per> > > > > Does anyone have a clue as to why this might be?
per> > >
per> > > > >
per> > >
per> > > > > Thanks,
per> > >
per> > > > > Eric
per> > >
per> > > >
per> > >
per> > > >
per> > >
per> > >
per> > =========================================================
per> > >
per> > > Per Bergqvist
per> > >
per> > > Synapse Systems AB
per> > >
per> > > Phone: +46 709 686 685
per> > >
per> > > Email: per@REDACTED
per> > >
per> >
per> >
per> > __________________________________________________
per> > Do you Yahoo!?
per> > U2 on LAUNCH - Exclusive greatest hits videos
per> > http://launch.yahoo.com/u2
per> >
per> =========================================================
per> Per Bergqvist
per> Synapse Systems AB
per> Phone: +46 709 686 685
per> Email: per@REDACTED
More information about the erlang-questions
mailing list