|
List Info
Thread: Problems during installation
|
|
| Problems during installation |

|
2006-07-31 19:41:36 |
|
|
When attempting to build the API I get this output:
$ make
cp P4.pm blib/lib/P4.pm
AutoSplitting blib/lib/P4.pm (blib/lib/auto/P4)
cp example.pl blib/lib/example.pl
cd lib && make
make[1]: Entering directory `/cygdrive/c/p4/software/Test_Source_Tree_1_0/Perl/P4-3.5313/lib'
g++ -c -I/cygdrive/c/p4/software/Test_Source_Tree_1_0/Perl/p4api_2003r2 -Ilib -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -
I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"\" -DXS_VERSION=\"\" "-I/usr/lib/perl5/5.8/cygwin/CORE" -DOS_CYGWIN -Dconst
_char='char' -DP4API_VERSION=512770 p4result.cc
g++ -c -I/cygdrive/c/p4/software/Test_Source_Tree_1_0/Perl/p4api_2003r2 -Ilib -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -
I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"\" -DXS_VERSION=\"\" "-I/usr/lib/perl5/5.8/cygwin/CORE" -DOS_CYGWIN -Dconst
_char='char' -DP4API_VERSION=512770 perlclientapi.cc
g++ -c -I/cygdrive/c/p4/software/Test_Source_Tree_1_0/Perl/p4api_2003r2 -Ilib -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -
I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"\" -DXS_VERSION=\"\" "-I/usr/lib/perl5/5.8/cygwin/CORE" -DOS_CYGWIN -Dconst
_char='char' -DP4API_VERSION=512770 perlclientuser.cc
ar cr libp4.a p4result.o perlclientapi.o perlclientuser.o
make[1]: Leaving directory `/cygdrive/c/p4/software/Test_Source_Tree_1_0/Perl/P4-3.5313/lib'
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [subdirs] Error 2
Using Cygwin, API ver 2005r1, gcc -v output:
$ gcc -v
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /gcc/gcc-3.4.4/gcc-3.4.4-1/configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/l
ib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,java,objc --enable-n
ls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-
zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-s
jlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug : (reconfigured)
Thread model: posix
gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
I'm following the instructions as best I'm able. This seems to be a shell related error. I'm thinking a re-install of cygwin might be in order.
Peter
============================================================
The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader
of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any reproduction,
dissemination or distribution of this communication is strictly
prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and
deleting it from your computer. Thank you. Tellabs
============================================================
|
| Problems during installation |

|
2006-08-01 10:56:16 |
|
I was having trouble installing under
windows and it turned out to be my version of perl. I was using activeperl version
5.8.6 build 811 and when I upgraded to 5.8.8 build 817 it started working.
Hope this helps,
Mark
From: p4perl-bounces perforce.com
[mailto:p4perl-bounces perforce.com] On
Behalf Of Mattingly, Peter J.
Sent: Monday, July 31, 2006 3:42
PM
To: p4perl perforce.com
Cc: Fleming, Brian J.;
Smith,Matthew P.
Subject: [p4perl] Problems during
installation
When
attempting to build the API I get this output:
$
make
cp
P4.pm blib/lib/P4.pm
AutoSplitting
blib/lib/P4.pm (blib/lib/auto/P4)
cp
example.pl blib/lib/example.pl
cd lib
&& make
make[1]:
Entering directory
`/cygdrive/c/p4/software/Test_Source_Tree_1_0/Perl/P4-3.5313/lib'
g++
-c -I/cygdrive/c/p4/software/Test_Source_Tree_1_0/Perl/p4api_2003r2 -Ilib
-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -
I/usr/local/include
-DUSEIMPORTLIB -O3 -DVERSION=\"\"
-DXS_VERSION=\"\"
"-I/usr/lib/perl5/5.8/cygwin/CORE" -DOS_CYGWIN -Dconst
_char='char'
-DP4API_VERSION=512770 p4result.cc
g++
-c -I/cygdrive/c/p4/software/Test_Source_Tree_1_0/Perl/p4api_2003r2 -Ilib
-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -
I/usr/local/include
-DUSEIMPORTLIB -O3 -DVERSION=\"\"
-DXS_VERSION=\"\"
"-I/usr/lib/perl5/5.8/cygwin/CORE" -DOS_CYGWIN -Dconst
_char='char'
-DP4API_VERSION=512770 perlclientapi.cc
g++
-c -I/cygdrive/c/p4/software/Test_Source_Tree_1_0/Perl/p4api_2003r2 -Ilib
-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -
I/usr/local/include
-DUSEIMPORTLIB -O3 -DVERSION=\"\"
-DXS_VERSION=\"\"
"-I/usr/lib/perl5/5.8/cygwin/CORE" -DOS_CYGWIN -Dconst
_char='char'
-DP4API_VERSION=512770 perlclientuser.cc
ar cr
libp4.a p4result.o perlclientapi.o perlclientuser.o
make[1]:
Leaving directory
`/cygdrive/c/p4/software/Test_Source_Tree_1_0/Perl/P4-3.5313/lib'
/bin/sh:
-c: line 0: unexpected EOF while looking for matching `"'
/bin/sh:
-c: line 1: syntax error: unexpected end of file
make:
*** [subdirs] Error 2
Using
Cygwin, API ver 2005r1, gcc -v output:
$
gcc -v
Reading specs from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured
with: /gcc/gcc-3.4.4/gcc-3.4.4-1/configure --verbose --prefix=/usr
--exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/l
ib
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-languages=c,ada,c++,d,f77,java,objc --enable-n
ls
--without-included-gettext --enable-version-specific-runtime-libs --without-x
--enable-libgcj --disable-java-awt --with-system-
zlib
--enable-interpreter --disable-libgcj-debug --enable-threads=posix
--enable-java-gc=boehm --disable-win32-registry --enable-s
jlj-exceptions
--enable-hash-synchronization --enable-libstdcxx-debug : (reconfigured)
Thread
model: posix
gcc
version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
I'm
following the instructions as best I'm able. This seems to be a shell
related error. I'm thinking a re-install of cygwin might be in order.
Peter
============================================================ The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any reproduction, dissemination or distribution of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Tellabs ============================================================
|
| Problems during installation |

|
2006-08-01 11:06:24 |
Hi Peter,
On Monday 31 July 2006 20:41, Mattingly, Peter J. wrote:
<snip>
>
`/cygdrive/c/p4/software/Test_Source_Tree_1_0/Perl/P4-3.5313
/lib'
> /bin/sh: -c: line 0: unexpected EOF while looking for
matching `"'
> /bin/sh: -c: line 1: syntax error: unexpected end of
file
> make: *** [subdirs] Error 2
>
> Using Cygwin, API ver 2005r1, gcc -v output:
>
> $ gcc -v
> Reading specs from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
> Configured with: /gcc/gcc-3.4.4/gcc-3.4.4-1/configure
--verbose
> --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc
--libdir=/usr/l
> ib --libexecdir=/usr/lib --mandir=/usr/share/man
> --infodir=/usr/share/info
--enable-languages=c,ada,c++,d,f77,java,objc
> --enable-n
> ls --without-included-gettext
--enable-version-specific-runtime-libs
> --without-x --enable-libgcj --disable-java-awt
--with-system-
> zlib --enable-interpreter --disable-libgcj-debug
--enable-threads=posix
> --enable-java-gc=boehm --disable-win32-registry
--enable-s
> jlj-exceptions --enable-hash-synchronization
--enable-libstdcxx-debug :
> (reconfigured)
> Thread model: posix
> gcc version 3.4.4 (cygming special) (gdc 0.12, using
dmd 0.125)
>
> I'm following the instructions as best I'm able.
This seems to be a
> shell related error. I'm thinking a re-install of
cygwin might be in
> order.
I'd agree - it's 'make' that's choking rather than the
compiler. You've not
got MinGW installed as well as Cygwin by any chance? If so,
could you be
running the MinGW make?
If not, then I think a Cygwin reinstall is the way to go.
Tony
_______________________________________________
p4perl mailing list
p4perl perforce.com
http://maillist.perforce.com/mailman/listinfo/p4perl
|
|
[1-3]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|