Andrew,
"perl /epics/base/bin/win32-x86/makeBaseApp.pl -t example example"
doesn't work. (It is not *unix.) I also tried perl -V. Please, look
attachment.
When I did
>set EPICS_MBA_TEMPLATE_TOP=c:/epics/base/template/makeBaseApp/top
Then
C:\testioc>perl ../epics/base/bin/win32-x86/makeBaseApp.pl -t example
example
began to work.
Thanks,
Andrei.
-----Original Message-----
From: Andrew Johnson [mailto:[email protected]]
Sent: Tuesday, September 26, 2006 4:42 PM
To: Liyu, Andrei
Cc: Ralph Lange; EPICS-tech-talk
Subject: Re: Epics 3.14.8.2 for Windows still has problems
Liyu, Andrei wrote:
> C:\testioc>perl c:\epics\base\bin\win32-x86\makeBaseApp.pl -t example
> example
> Can't find EPICS base
>
> C:\testioc>perl epics\base\bin\win32-x86\makeBaseApp.pl -t example
> example
> Can't open perl script "epics\base\bin\win32-x86\makeBaseApp.pl": No
> such file or directory
>
> C:\testioc>perl ..\epics\base\bin\win32-x86\makeBaseApp.pl -t example
> example
> Can't find EPICS base
I think it's getting confused by the back-slashes, because in both of
the following examples ...
> C:\testioc>perl ../epics/base/bin/win32-x86/makeBaseApp.pl -t example
> example
> Can't find template top directory
>
> C:\testioc>perl c:/epics/base/bin/win32-x86/makeBaseApp.pl -t example
> example
> Can't find template top directory
... it at least succeeded in finding EPICS Base - the error message is
different, and the later errors only occur if it did find Base properly.
I think you should try
perl /epics/base/bin/win32-x86/makeBaseApp.pl -t example example
i.e. no c: or ..s, just an absolute path on the current drive using
forward slashes. Oh, and make sure that you don't have a
C:\testioc\configure directory, since the contents of a RELEASE file
will override the command line. I'm also assuming that you haven't
tried setting the %EPICS_MBA_TEMPLATE_TOP% environment variable since
that will also change things.
If the above doesn't work, please also post the output from 'perl -V'
- Andrew
--
There is considerable overlap between the intelligence of the smartest
bears and the dumbest tourists -- Yosemite National Park Ranger
C:\testioc>perl epics/base/bin/win32-x86/makeBaseApp.pl -t example example
Can't open perl script "epics/base/bin/win32-x86/makeBaseApp.pl": No such file o
r directory
C:\testioc>perl -V epics/base/bin/win32-x86/makeBaseApp.pl -t example example
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=MSWin32, osvers=5.0, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
usethreads=define use5005threads=undef useithreads=define usemultiplicity=de
fine
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cl', ccflags ='-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -
DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_
CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX',
optimize='-MD -Zi -DNDEBUG -O1',
cppflags='-DWIN32'
ccversion='12.00.8804', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksi
ze=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -libpath:"c:
\Perl\lib\CORE" -machine:x86'
libpth=\lib
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32
.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_
32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comd
lg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib
ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf -
libpath:"c:\Perl\lib\CORE" -machine:x86'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_IMPLICIT_SYS PERL_MALLOC_WRAP
PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_SITECUSTOMIZE
Locally applied patches:
ActivePerl Build 819 [267479]
Iin_load_module moved for compatibility with build 806
PerlEx support in CGI::Carp
Less verbose ExtUtils::Install and Pod::Find
Patch for CAN-2005-0448 from Debian with modifications
Rearrange @INC so that 'site' is searched before 'perl'
Partly reverted 24733 to preserve binary compatibility
28671 Define PERL_NO_DEV_RANDOM on Windows
28376 Add error checks after execing PL_cshname or PL_sh_path
28305 Pod::Html should not convert "foo" into ``foo''
27736 Make perl_fini() run with Sun WorkShop compiler
27619 Bug in Term::ReadKey being triggered by a bug in Term::ReadLine
27549 Move DynaLoader.o into libperl.so
27528 win32_pclose() error exit doesn't unlock mutex
27527 win32_async_check() can loop indefinitely
27515 ignore directories when searching @INC
27359 Fix -d:Foo=bar syntax
27210 Fix quote typo in c2ph
27203 Allow compiling swigged C++ code
27200 Make stat() on Windows handle trailing slashes correctly
27194 Get perl_fini() running on HP-UX again
27133 Initialise lastparen in the regexp structure
27034 Avoid "Prototype mismatch" warnings with autouse
26970 Make Passive mode the default for Net::FTP
26921 Avoid getprotobyname/number calls in IO::Socket::INET
26897,26903 Make common IPPROTO_* constants always available
26670 Make '-s' on the shebang line parse -foo=bar switches
26536 INSTALLSCRIPT versus INSTALLDIRS
26379 Fix alarm() for Windows 2003
26087 Storable 0.1 compatibility
25861 IO::File performace issue
25084 long groups entry could cause memory exhaustion
24699 ICMP_UNREACHABLE handling in Net::Ping
Built under MSWin32
Compiled at Aug 29 2006 12:42:41
@INC:
c:/Perl/site/lib
c:/Perl/lib
.
C:\testioc>
- References:
- Re: Epics 3.14.8.2 for Windows still has problems Andrew Johnson
- Navigate by Date:
- Prev:
Re: Epics 3.14.8.2 for Windows still has problems Andrew Johnson
- Next:
A question about decoding strings in Asyn.... Dave Reid
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Epics 3.14.8.2 for Windows still has problems Andrew Johnson
- Next:
ICS-130 digitizer EPICS support? Steve Lewis
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|