PGP 6.5.1i compilations problems on Solaris 2.7

PGP 6.5.1i compilations problems on Solaris 2.7

Post by Ilya » Wed, 23 Feb 2000 04:00:00



There seems to be no source code for 6.5.3 or 6.5.2, only ready binaries,
which is not acceptable.

Any thoughts why this won't compile?

creating ./config.status
creating Makefile
gcc -g -O2 -I/usr/local/include  -I../shared  -I../../../libs/pfl/common  -I../../../libs/pfl/common/prefs  -I../../../libs/pfl/common/file  -I../../../libs/pfl/unix  -I../../../libs/pgpcdk/unix  -I../../../libs/pgpcdk/unix/ui  -I../../../libs/pgpcdk/priv/utilities  -I../../../libs/pgpcdk/priv/utilities/utils  -I../../../libs/pgpcdk/priv/include  -I../../../libs/pgpcdk/pub/include  -I../../../libs/pgpcdk/priv/include/opaque -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 -DHAVE_LIBM=1 main.c -c
In file included from globals.h:18,
                 from prototypes.h:18,
                 from pgp.h:19,
                 from main.c:31:
../../../libs/pfl/common/pgpDebug.h:26: parse error before `:'
main.c: In function `pgpInitSDKPrefsDir':
main.c:135: warning: passing arg 1 of `PGPFreeFileSpec' from incompatible pointer type
*** Error code 1
make: Fatal error: Command failed for target `main.o'
root-ilya-/usr/local/bin/pgp-6.5.1i>        

===========================================================================
National Organization for the Repeal of the Federal Reserve: www.norfed.org
The Foundation for the Advancement of Monetary Education:      www.fame.org
E-gold: A privately issued e-currency backed by metals:      www.e-gold.com
Principia Publishing:                                  www.principiapub.com
===========================================================================

 
 
 

PGP 6.5.1i compilations problems on Solaris 2.7

Post by Mason » Fri, 25 Feb 2000 04:00:00


Quote:Ilya wrote...
>Any thoughts why this won't compile?
>../../../libs/pfl/common/pgpDebug.h:26: parse error before `:'

The error said it all :)

 
 
 

PGP 6.5.1i compilations problems on Solaris 2.7

Post by Ilya » Fri, 25 Feb 2000 04:00:00



Quote:> Ilya wrote...
>>Any thoughts why this won't compile?
>>../../../libs/pfl/common/pgpDebug.h:26: parse error before `:'
> The error said it all :)

Well, what can I do about it?

Why is 6.5.1i so badly written that it won't compile on one of the most
common Unix platforms?

 
 
 

PGP 6.5.1i compilations problems on Solaris 2.7

Post by Mason » Fri, 25 Feb 2000 04:00:00


Quote:Ilya wrote...
>Why is 6.5.1i so badly written that it won't compile on one of the most
>common Unix platforms?

To be fair, read the INSTALL file that comes with the package.
It doesn't include Solaris. Maybe you can try on Linux.
Or you can take a look of the offending line from the error msg
(i.e. pgpDebug.h:26).

Beta release note
=================

This is a beta release, and as such has only been tested on a few
platforms.  The source code still needs some work before it will
compile cleanly on all platforms.

The code has been found to compile on:

  * ix86-linux-glibc2 with gcc 2.95.2

 
 
 

PGP 6.5.1i compilations problems on Solaris 2.7

Post by <bal.. » Sat, 26 Feb 2000 04:00:00


        Where does one go about getting this version of PGP. The only version
of PGP that I know about is pgp v2.6.2 that can be had from MIT.

        This is a different PGP, no?

Thanks, Jim


Quote:> Ilya wrote...
>>Why is 6.5.1i so badly written that it won't compile on one of the most
>>common Unix platforms?
> To be fair, read the INSTALL file that comes with the package.
> It doesn't include Solaris. Maybe you can try on Linux.
> Or you can take a look of the offending line from the error msg
> (i.e. pgpDebug.h:26).
> Beta release note
> =================
> This is a beta release, and as such has only been tested on a few
> platforms.  The source code still needs some work before it will
> compile cleanly on all platforms.
> The code has been found to compile on:
>   * ix86-linux-glibc2 with gcc 2.95.2

--

---
Jim

 
 
 

PGP 6.5.1i compilations problems on Solaris 2.7

Post by grd.. » Sat, 26 Feb 2000 04:00:00


Hi ya, Ilya --

Now be patient. I had the identical problem compiling on Windows NT
Server. I guess you aren't a programmer or you'd not be having this
problem; if you are not, it might be difficult explaining how to fix
it. The compile is failing at these statements:

   #ifndef PGP_DEBUG
   error: PGP_DEBUG must be 0 or 1
   #endif

and of course "error" isn't a compiler directive, thus the error in the
compilation.

What you can do is either comment out the "error: PGP_DEBUG must be 0
or 1" statement, which I would not advise because PGP_DEBUG is in many
files, or else define "PGP_DEBUG". You can look up compiler directives
in the man pages for your system. In Windows, if one uses /D
PGP_DEBUG=0 then PGP_DEBUG is then defined and you will no longer get
an error on line 26 of file pgpDebug.h.

jerry

ps.  sorry if this comes through twice. My cheap a*s ISP doesn't seem
to be posting replies.




> > Ilya wrote...

> >>Any thoughts why this won't compile?

> >>../../../libs/pfl/common/pgpDebug.h:26: parse error before `:'

> > The error said it all :)

> Well, what can I do about it?

> Why is 6.5.1i so badly written that it won't compile on one of the
most
> common Unix platforms?

Sent via Deja.com http://www.deja.com/
Before you buy.
 
 
 

PGP 6.5.1i compilations problems on Solaris 2.7

Post by grd.. » Sat, 26 Feb 2000 04:00:00


I got mine at http://www.pgpi.org

It depends on the operating system, but 6.5.3 for Windows is available
at http://www.pgpi.org/cgi/download.cgi?filename=PGPfreeware_6.5.3.zip

v2.6.2 is a fairly old version.

jerry



>    Where does one go about getting this version of PGP. The only
version
> of PGP that I know about is pgp v2.6.2 that can be had from MIT.

>    This is a different PGP, no?

> Thanks, Jim


> > Ilya wrote...

> >>Why is 6.5.1i so badly written that it won't compile on one of the
most
> >>common Unix platforms?

> > To be fair, read the INSTALL file that comes with the package.
> > It doesn't include Solaris. Maybe you can try on Linux.
> > Or you can take a look of the offending line from the error msg
> > (i.e. pgpDebug.h:26).

> > Beta release note
> > =================

> > This is a beta release, and as such has only been tested on a few
> > platforms.  The source code still needs some work before it will
> > compile cleanly on all platforms.

> > The code has been found to compile on:

> >   * ix86-linux-glibc2 with gcc 2.95.2

> --

> ---
> Jim


Sent via Deja.com http://www.deja.com/
Before you buy.
 
 
 

PGP 6.5.1i compilations problems on Solaris 2.7

Post by Kjetil Torgrim Homm » Sat, 26 Feb 2000 04:00:00



Quote:>    Where does one go about getting this version of PGP. The only
>   version of PGP that I know about is pgp v2.6.2 that can be had
>   from MIT.

You can't use the international version in the US unless you buy the
right to do so from RSA.  Pay up, or use the old version.  (NAI
doesn't support Unix.)

Perhaps GNU Privacy Guard is an alternative for you?

Kjetil T.

 
 
 

PGP 6.5.1i compilations problems on Solaris 2.7

Post by Mason » Sat, 26 Feb 2000 04:00:00


Quote:Mason Ip wrote...

>Ilya wrote...

>>Why is 6.5.1i so badly written that it won't compile on one of the most
>>common Unix platforms?

>To be fair, read the INSTALL file that comes with the package.
>It doesn't include Solaris. Maybe you can try on Linux.
>Or you can take a look of the offending line from the error msg
>(i.e. pgpDebug.h:26).

OK, by reading the INSTALL, I thought it's not ready on Solaris.
But, hey, give it a try ... and it works on Sparc Solaris 7.
The only problem I encountered was "cc" not found and something
were not compiled. After soft-link my gcc to cc, everything compiled
without any errors.
 
 
 

PGP 6.5.1i compilations problems on Solaris 2.7

Post by grd.. » Sat, 26 Feb 2000 04:00:00





> >       Where does one go about getting this version of PGP. The only
> >   version of PGP that I know about is pgp v2.6.2 that can be had
> >   from MIT.

> You can't use the international version in the US unless you buy the
> right to do so from RSA.  Pay up, or use the old version.  (NAI
> doesn't support Unix.)

> Perhaps GNU Privacy Guard is an alternative for you?

> Kjetil T.

As far as I can see, source code and executables for Freeware PGP are
available for most countries, and in almost all the versions (UNIX, et
al) (re: http://www.pgpi.org). Please, someone explain to me what
Kjetil means in the above message.

jerry

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

PGP 6.5.1i compilations problems on Solaris 2.7

Post by Mason » Sat, 26 Feb 2000 04:00:00


Quote:Mason Ip wrote...
>Ilya wrote...
>>Why is 6.5.1i so badly written that it won't compile on one of the most
>>common Unix platforms?
>To be fair, read the INSTALL file that comes with the package.
>It doesn't include Solaris. Maybe you can try on Linux.
>Or you can take a look of the offending line from the error msg
>(i.e. pgpDebug.h:26).

OK, by reading the INSTALL, I thought it's not ready on Solaris.
But, hey, give it a try ... and it works on Sparc Solaris 7.
The only problem I encountered was "cc" not found and something
were not compiled. After soft-link my gcc to cc, everything compiled
without any errors.

Note that Ilya's problem *might* be having /usr/ucb in the PATH
when a wrong "cc" which would give you a lot of false alarms (i.e.
errors).

 
 
 

PGP 6.5.1i compilations problems on Solaris 2.7

Post by C.T.Nadovi » Sun, 27 Feb 2000 04:00:00



>On 25 Feb 2000 14:47:19 +0100, Kjetil Torgrim Homme

>>You can't use the international version in the US unless you buy the
>>right to do so from RSA.  Pay up, or use the old version.  (NAI
>>doesn't support Unix.)
>NAI Command Line 6.5.2 is available for Linux and Solaris.

Available yes. But it sucks --- at least under Solaris. It's barely
useable. My benchmarks show it to be easily 10 times slower than pgp5 and
THAT was pretty doggone slow already. I can WALK to a windoze machine with
a floppy, decrypt a message, and walk back to my Solaris machine before
that message decrypts. No cracks about how slow solaris is -- it's plenty
fast. The reverse speed difference is true with MSVC relative to gcc. It's
not Solaris, it's the stupid 64bit math workarounds in the pgp6 code, I
bet.

IMHO, NAI dosen't support Unix, period.

--
Secure webmail-news-voicemail-fax with JTAN ProShell
http://www.jtan.com/proshell - Unix SSHells for Pros

 
 
 

PGP 6.5.1i compilations problems on Solaris 2.7

Post by Kjetil Torgrim Homm » Sun, 27 Feb 2000 04:00:00



Quote:>   As far as I can see, source code and executables for Freeware PGP
>   are available for most countries, and in almost all the versions
>   (UNIX, et al) (re: http://www.pgpi.org). Please, someone explain
>   to me what Kjetil means in the above message.

The free, international PGP includes code for DES encryption.  This
algorithm is protected by a patent in the US, but not elsewhere (since
software algorithms aren't patentable in most countries).  Therefore
you need to buy a licence from RSA to use the DES code.

The GNU Privacy Guard only uses undisputed algorithms, and is probably
the best solution if you are concerned with interoperability.

Kjetil T.

 
 
 

PGP 6.5.1i compilations problems on Solaris 2.7

Post by grd.. » Sun, 27 Feb 2000 04:00:00


donkey-skins

j




> >   As far as I can see, source code and executables for Freeware PGP
> >   are available for most countries, and in almost all the versions
> >   (UNIX, et al) (re: http://www.pgpi.org). Please, someone explain
> >   to me what Kjetil means in the above message.

> The free, international PGP includes code for DES encryption.  This
> algorithm is protected by a patent in the US, but not elsewhere
(since
> software algorithms aren't patentable in most countries).  Therefore
> you need to buy a licence from RSA to use the DES code.

> The GNU Privacy Guard only uses undisputed algorithms, and is
probably
> the best solution if you are concerned with interoperability.

> Kjetil T.

Sent via Deja.com http://www.deja.com/
Before you buy.
 
 
 

1. PGP 6.5.1i compilations problems on RH6.1


Making all in common
make[1]: Entering directory `/usr/local/bin/pgp-6.5.1i/libs/pfl/common'
Making all in common/file
make[2]: Entering directory `/usr/local/bin/pgp-6.5.1i/libs/pfl/common/file'
gcc -O -g -DPGP_UNIX=1 -DPGP_COMPILER_GCC=1  -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -DHAVE_CONFIG_H -DPGP_DEBUG=0 -DUNFINISHED_CODE_ALLOWED=1 -DUSE_PGP_LEAKS=0  -I../.././unix -I../.././common -I../.././common/file -I../.././common/prefs -I../.././common/util -I../.././common/lthread -I.     -c pgpFileIO.c -o pgpFileIO.o
In file included from ../../common/pgpPFLErrors.h:12,
                 from pgpFileIO.c:11:
../../common/pgpBase.h:32: sys/types.h: No such file or directory
In file included from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:11,
                 from ../../common/pgpBase.h:40,
                 from ../../common/pgpPFLErrors.h:12,
                 from pgpFileIO.c:11:
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:117: limits.h: No such file or directory
In file included from pgpFileIO.h:11,
                 from pgpFileIOPriv.h:10,
                 from pgpFileIO.c:12:
pgpFileSpec.h:17: time.h: No such file or directory
In file included from pgpFileIO.c:13:
../../common/pgpMem.h:19: stdlib.h: No such file or directory
../../common/pgpMem.h:21: string.h: No such file or directory
In file included from ../../common/pgpMem.h:24,
                 from pgpFileIO.c:13:
../../common/pgpTypes.h:17: sys/types.h: No such file or directory
In file included from ../../common/pgpMem.h:26,
                 from pgpFileIO.c:13:
../../common/pgpDebug.h:14: stdlib.h: No such file or directory
In file included from ../../common/pgpMem.h:26,
                 from pgpFileIO.c:13:
../../common/pgpDebug.h:20: stdio.h: No such file or directory
make[2]: *** [pgpFileIO.o] Error 1
make[2]: Leaving directory `/usr/local/bin/pgp-6.5.1i/libs/pfl/common/file'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/local/bin/pgp-6.5.1i/libs/pfl/common'
make: *** [all] Error 1

===========================================================================
National Organization for the Repeal of the Federal Reserve: www.norfed.org
The Foundation for the Advancement of Monetary Education:      www.fame.org
E-gold: A privately issued e-currency backed by metals:      www.e-gold.com
Principia Publishing:                                  www.principiapub.com
===========================================================================

2. xfsdump with oops

3. Running PGP 6.5.1i on LPPC2K (semaphores?)

4. NIS client

5. radius.3.6B.basic : compilation problem with Solaris 2.7

6. apache slows down after hours

7. Elm 2.5.3 compilations problems on Solaris 2.7

8. Solaris vs Bsd vs nt

9. Need Help on SOLARIS 2.7 for compilation...

10. Locale compilation on Solaris 2.7

11. Compilation failure on Solaris 2.7

12. bugreport: 2.4.20pre9 + i2c-2.6.5 + lm_sensors-2.6.5

13. Porting SGI IRIX 6.5 code to Sun Solaris 7