Compiling Pine 3.91 (Solaris 2.5)

Compiling Pine 3.91 (Solaris 2.5)

Post by Jim Minth » Sun, 18 Aug 1996 04:00:00




>    I am trying to compile Pine 3.91 for Solaris 2.5.  Whether I use gcc or
> Sun's cc, it dies when it begins to build the pine binary.  It complains
> about redeclaration with stdlib.h and stdio.h.  I am stumped.  Pine compiled
> without a hitch for both SunOS 4.1.4 and IRIX 5.3.

...

I just built Pine 3.95 for Solaris 2.5 without any problems at all.
Try to get the new version (I seem to remember some problems with 3.91
on Solaris)  I got my copy from:

ftp://ftp.uu.net/networks/mail/pine/pine3.95.tar.gz

Jim

--

Geography System Administrator     Work: (604) 822-2174 Fax: 822-6150
                              Home Page: http://www.geog.ubc.ca/~jim/

Quote:>>> SARCAST \'sar-kast\ v.  1. To engage in the art of sarcasm <<<

 
 
 

Compiling Pine 3.91 (Solaris 2.5)

Post by Chris O'Reg » Mon, 19 Aug 1996 04:00:00


Hello,

   I am trying to compile Pine 3.91 for Solaris 2.5.  Whether I use gcc or
Sun's cc, it dies when it begins to build the pine binary.  It complains
about redeclaration with stdlib.h and stdio.h.  I am stumped.  Pine compiled
without a hitch for both SunOS 4.1.4 and IRIX 5.3.

   Running "./build sol" from the top of the source distribution ends with
this:

Making Pine.
cc -DSV4   -g -DDEBUG -DSYSTYPE=\"SOL\"   -c addrbook.c
"/usr/include/stdlib.h", line 148: identifier redeclared: getopt
        current : function(int, pointer to pointer to char, pointer to char)
returning int
        previous: function(int, pointer to const pointer to char, pointer to
const char) returning int : "/usr/include/stdio.h", line 242
"/usr/include/stdlib.h", line 149: identifier redeclared: getsubopt
        current : function(pointer to pointer to char, pointer to pointer to
char, pointer to pointer to char) returning int
        previous: function(pointer to pointer to char, pointer to const
pointer to char, pointer to pointer to char) returning int : "/usr/include/stdio.h",
line 244
"/usr/include/unistd.h", line 230: identifier redeclared: rename
        current : function(pointer to char, pointer to char) returning int
        previous: function(pointer to const char, pointer to const char)
returning int : "/usr/include/stdio.h", line 148
"addrbook.c", line 3954: cannot recover from previous errors
cc: acomp failed for addrbook.c
make: *** [addrbook.o] Error 2

--
    ____________________________________________________________________

              Department of Electrical and Computer Engineering
                   Concordia University, Montreal, Canada
                http://www.ECE.Concordia.CA/~chris/addr.html

 
 
 

Compiling Pine 3.91 (Solaris 2.5)

Post by Casper H.S. Dik - Network Security Engine » Tue, 20 Aug 1996 04:00:00



>Hello,
>   I am trying to compile Pine 3.91 for Solaris 2.5.  Whether I use gcc or
>Sun's cc, it dies when it begins to build the pine binary.  It complains
>about redeclaration with stdlib.h and stdio.h.  I am stumped.  Pine compiled
>without a hitch for both SunOS 4.1.4 and IRIX 5.3.
>   Running "./build sol" from the top of the source distribution ends with
>this:
>Making Pine.
>cc -DSV4   -g -DDEBUG -DSYSTYPE=\"SOL\"   -c addrbook.c
>"/usr/include/stdlib.h", line 148: identifier redeclared: getopt
>        current : function(int, pointer to pointer to char, pointer to char)
>returning int
>        previous: function(int, pointer to const pointer to char, pointer to
>const char) returning int : "/usr/include/stdio.h", line 242

For some reason pine does a '#define const /* nothing */' and that gives
the error message seen here.

Remove that define from Pine.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Unsolicited e-mail adverti*ts send to my address will be proofread
for a $250 flat fee.

 
 
 

Compiling Pine 3.91 (Solaris 2.5)

Post by Chris O'Reg » Tue, 20 Aug 1996 04:00:00





CO>   I am trying to compile Pine 3.91 for Solaris 2.5.  Whether I use gcc or
CO>Sun's cc, it dies when it begins to build the pine binary.  It complains
CO>about redeclaration with stdlib.h and stdio.h.  I am stumped.  Pine
CO>compiled without a hitch for both SunOS 4.1.4 and IRIX 5.3.

CD>For some reason pine does a '#define const /* nothing */' and that gives
CD>the error message seen here.

CD>Remove that define from Pine.

   Thanks for the information.  As someone else suggested, I downloaded a
later version of Pine (I though versions greater than 3.91 were commercial?)
and managed to compile "pine" and "pico," although the other binaries failed
to compile.  I still had some problems with the stupid Solaris Makefile
looking for a non-existant C compiler (cc5.sol or something?).

   Anyway, Pine and Pico are all I need from the package.

Thanks again,

--
    ____________________________________________________________________

              Department of Electrical and Computer Engineering
                   Concordia University, Montreal, Canada
                http://www.ECE.Concordia.CA/~chris/addr.html

 
 
 

1. Pine 3.91 and Solaris 2.5 behaving oddly

Hello everyone,

I recently upgraded my freenets from Solaris 2.4 to Solaris 2.5.  I performed
a fresh install of the OS instead of an upgrade.  I recompiled gcc 2.7.2, and
recompiled pine 3.91.  I am now experiencing some strange behavior in pine:

1) Users will have .pine-interrupted-mail files, 0 bytes, created in their
   home directories with permission 000, when they are abruptly disconnected
   from the system (damn modems).  Pine later complains about the permissions
   when the user tries to resume the mail.

2) I have had unverifiable reports that pine freezes in the compose screen.

I do not know if these two events occur at the same time.  I would appreciate
any brainstorming anyone cares to do.

Regards,

David K. Drum

--
"That man has a rare gift for obfuscation." -- ST:DS9 * "It's hard to be bored
when you're as stupid as a line." -- Vernor Vinge * "[The building was] of no
particular style of architecture except to use as much lumber as possible."

2. What other linux groups?

3. Compiling Pine 3.91 under Solaris 2.3 & gcc 2.6.1 (SS20)

4. How Can I Monitor Web Advertisers?

5. Compiling Pine 3.91

6. SuSE 7.0 X11 setup nVidia GeForce on Dell Dimension

7. Building PINE 3.91 on Solaris 2.4?

8. Problems with the SMC 9432TX EtherPower II

9. Pine 3.91 on SCO Unix - Problem with attachments

10. Pine 3.91 Security Patch

11. Pine 3.91 can't read my mail on Linux 1.2.13

12. Pine 3.91

13. Pine 3.91 for SCO (WITH NO TCP/IP)