Re: [AOLSERVER] aolserver 4.5 make error on RHEL3.4 64 bit

2006-07-27 Thread aT




[EMAIL PROTECTED] mqueue]# gcc --version
gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.




Tom Jackson wrote:

  On Wednesday 26 July 2006 07:57, Dossy Shiobara wrote:
  
  
On 2006.07.26, aT [EMAIL PROTECTED] wrote:



  Any idea ??
  

gcc --version

  
  
Dossy,

My version:

gcc --version
gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)

But it works with:

gcc --version
gcc (GCC) 3.3.4 (pre 3.3.5 20040809)

tom jackson


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.

  



-- 
Syed Atif Ali
D. +971 4 3911914
F. +971 4 3911915
___ 
Did you know the University of Iowa closed down after someone stole the book?





--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.



Re: [AOLSERVER] aolserver 4.5 make error on RHEL3.4 64 bit

2006-07-27 Thread Dossy Shiobara
On 2006.07.26, Tom Jackson [EMAIL PROTECTED] wrote:
 My version:
 
 gcc --version
 gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
 
 But it works with:
 
 gcc --version
 gcc (GCC) 3.3.4 (pre 3.3.5 20040809)

On 2006.07.27, aT [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] mqueue]# gcc --version
gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47)


OK, building AOLserver 4.5.0 currently requires gcc 3.3.x or newer.
Here's a patch I *think* should work so it can be built with older
versions of gcc (see attached).

If you can apply the patch and test against gcc 3.2 and let me know if
it works or not, then I can commit the change for inclusion in 4.5.1.

-- Dossy

-- 
Dossy Shiobara  | [EMAIL PROTECTED] | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on. (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.
Index: include/nsattributes.h
===
RCS file: /cvsroot/aolserver/aolserver/include/nsattributes.h,v
retrieving revision 1.3
diff -u -r1.3 nsattributes.h
--- include/nsattributes.h  25 Aug 2005 15:46:11 -  1.3
+++ include/nsattributes.h  27 Jul 2006 11:48:59 -
@@ -38,8 +38,6 @@
 #ifndef NSATTRS_H
 #define NSATTRS_H
 
-#ifndef __GNUC__ 
-
 # define _nsmalloc
 # define _nspure
 # define _nsconst
@@ -56,8 +54,6 @@
 # define _nswarnunused
 # define _nsmayalias
 
-#else
-
 #ifdef __GNUC_MINOR__
 #ifdef __GNUC_PREREQ
 #undef __GNUC_PREREQ
@@ -120,8 +116,6 @@
 
 #endif /* __GNUC__PREREQ */
 
-#endif /* __GNUC__ */
-
 #define NS_RCSID(string) static const char *RCSID _nsunused = string \
 , compiled:  __DATE__   __TIME__
 


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] aolserver 4.5 make error on RHEL3.4 64 bit

2006-07-27 Thread Thorpe Mayes

I hate to be so ignorant, but how does one apply this patch?

I am unable to install aolserver on my linux box. I get this error;

/usr/local/bin/tclsh8.4 
/home/tam/source_code/aolserver-4.5.0/util/nsinstall.tcl -d 
/usr/local/lib -e libnsthread.so

installed: /usr/local/lib/libnsthread.so (0755)
/usr/local/bin/tclsh8.4 
/home/tam/source_code/aolserver-4.5.0/util/nsinstall.tcl -d 
/usr/local/lib libnsthread.a

ranlib /usr/local/lib/libnsthread.a
ranlib: /usr/local/lib/libnsthread.a: No such file or directory
gmake[1]: *** [install-dll] Error 9
gmake[1]: Leaving directory 
`/home/tam/source_code/aolserver-4.5.0/nsthread'

make: *** [install-bins] Error 1


I am just guessing that the gcc issue is at the heart of this. I, too, 
am running an older version of gcc.


Thanks for your help.

Best regards,

Thorpe


On Jul 27, 2006, at 6:48 AM, Dossy Shiobara wrote:


On 2006.07.26, Tom Jackson [EMAIL PROTECTED] wrote:

My version:

gcc --version
gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)

But it works with:

gcc --version
gcc (GCC) 3.3.4 (pre 3.3.5 20040809)


On 2006.07.27, aT [EMAIL PROTECTED] wrote:

   [EMAIL PROTECTED] mqueue]# gcc --version
   gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47)



OK, building AOLserver 4.5.0 currently requires gcc 3.3.x or newer.
Here's a patch I *think* should work so it can be built with older
versions of gcc (see attached).

If you can apply the patch and test against gcc 3.2 and let me know if
it works or not, then I can commit the change for inclusion in 4.5.1.

-- Dossy

--
Dossy Shiobara  | [EMAIL PROTECTED] | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on. (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
[EMAIL PROTECTED] with the
body of SIGNOFF AOLSERVER in the email message. You can leave the 
Subject: field of your email blank.

nsattributes.h.patch

Thorpe Mayes
eCognizant LLC
3840 Cobble Circle
Norman, Oklahoma 73072
(405) 514-9753
(800) 309-5832
fax: 1-866-871-3069
[EMAIL PROTECTED]


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] aolserver 4.5 make error on RHEL3.4 64 bit

2006-07-27 Thread Dossy Shiobara
On 2006.07.27, Thorpe Mayes [EMAIL PROTECTED] wrote:
 I hate to be so ignorant, but how does one apply this patch?

1. Save the attachment as nsattributes.h.patch.

2. Obtain a copy of the AOLserver 4.5.0 source.

3. From the top of the source tree, do:

$ patch -p0  nsattributes.h.patch

However ...

 I am unable to install aolserver on my linux box. I get this error;
 
...
 /home/tam/source_code/aolserver-4.5.0/util/nsinstall.tcl -d
 /usr/local/lib libnsthread.a
 ranlib /usr/local/lib/libnsthread.a
 ranlib: /usr/local/lib/libnsthread.a: No such file or directory
...

I'd have to see the entire build output (email it to me directly,
off-list) to see why your build failed to produce and/or install
libnsthread.a.

-- Dossy

-- 
Dossy Shiobara  | [EMAIL PROTECTED] | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on. (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.