Support Requests item #417631, was updated on 2001-04-20 07:05
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=203152&aid=417631&group_id=3152

Category: First-Time Startup
Group: None
Status: Open
Resolution: None
Priority: 9
Submitted By: Doug Coughler (doug-coughler)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot compile AOLserver on FreeBSD

Initial Comment:
I am a Quality Assurance Software Engineer for Nokia,
Inc. in Kanata, Ontario, Canada.   I am trying to
install AOLServer in our test lab for doing tests with
our new SSL Accelerator.  The server is a FreeBSD 4.2
machine.  I am using GMAKE 3.79.1 to compile it.

Everytime I try to compile aolserver, I get the
following error:

=====
gmake
=====

gmake[2]: Entering directory
`/usr/local/aolserver3_3_1/tcl7.6/unix'
gmake[2]: `libtcl76.a' is up to date.
gmake[2]: Leaving directory
`/usr/local/aolserver3_3_1/tcl7.6/unix'
gmake[1]: Leaving directory
`/usr/local/aolserver3_3_1/tcl7.6'
(cd /usr/local/aolserver3_3_1/tcl8.3.2 && gmake all)
gmake[1]: Entering directory
`/usr/local/aolserver3_3_1/tcl8.3.2'
(cd /usr/local/aolserver3_3_1/tcl8.3.2/unix; gmake
CFLAGS='-I../include -D_REENTRANT=1 -DNDEBUG=1 -g -
fPIC -Wall -Wno-unused -pthread -mcpu=pentium -
D_THREAD_SAFE=1 -DHAVE_CMMSG=1 -DNO_TIMEZONE=1 -
DHAVE_TIMEGM=1 -DUSE_TCL8X -Dfork=ns_fork -
Dreaddir=ns_readdir -Dgmtime=ns_gmtime -
Dsignal=ns_signal -Dlocaltime=ns_localtime'
libtcl83g.a)
gmake[2]: Entering directory
`/usr/local/aolserver3_3_1/tcl8.3.2/unix'
gmake[2]: *** No rule to make target `libtcl83g.a'.
Stop.
gmake[2]: Leaving directory
`/usr/local/aolserver3_3_1/tcl8.3.2/unix'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/usr/local/aolserver3_3_1/tcl8.3.2'
gmake: *** [libtcl8x] Error 2


==========
gmake install
==========

gmake[3]: Entering directory
`/usr/local/aolserver3_3_1/tcl8.3.2/unix'
gmake[3]: *** No rule to make target `libtcl83g.a'.
Stop.
gmake[3]: Leaving directory
`/usr/local/aolserver3_3_1/tcl8.3.2/unix'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/local/aolserver3_3_1/tcl8.3.2'
gmake[1]: *** [libtcl8x] Error 2
gmake[1]: Leaving directory
`/usr/local/aolserver3_3_1/nsd'
gmake: *** [install] Error 1


What is causing these errors, and how can I fix them?
I have reformatted the server machine twice now.  It
is imperative that I get this server up and running.

- Doug Coughler

_________________________________________________
Doug Coughler
NOKIA
Quality Assurance Test Engineer
Phone: (613)271-6937         Cell: (613) 263-6120
FAX:(613)591-7451         [EMAIL PROTECTED]
_________________________________________________


----------------------------------------------------------------------

Comment By: Dossy (dossy)
Date: 2001-05-28 17:26

Message:
Logged In: YES
user_id=21885

Doug, were you able to finally build AOLserver on FreeBSD?
tyge's suggestion should have got things going for you, but
you never downgraded this ticket from severity 9 -- is this
still an issue?  Can this ticket be closed?


----------------------------------------------------------------------

Comment By: Tyge Cawthon (tyge)
Date: 2001-05-11 17:06

Message:
Logged In: YES
user_id=217624

I may be wrong and I am NOT a programmer but this is what I
did. After reading some information about AOL, I Looked at
the file aolserver-3.3.1/include/Makefile.global

Towards the end of the file there is a comment "Tcl 7.6 on
*BSD has a different name....."

I looked at the ifeq statement and notice that TCL8X_LIB
line was not the same as in the else part.  Since the
comment from above do not say anything about Tcl8.3 name
being different, I assumed that someone forgot to add the
period sign. So, what I did was to make the TCL8X_LIB line
in the "if" part look like the TCL8X_LIB line in the "else"
part. The gmake, gmake install and gmake clean completed.

Right now I am trying to see if the AOL server is working.
I hope this helps you.

BEFORE:
#Note:  Tcl 7.6 on *BSD has a different name for no apparent
reason.
#
TCL8X_DIR=tcl8.3.2
TCL76_DIR=tcl7.6
ifeq (bsd, $(findstring bsd, $(PLATFORM)))
  TCL76_LIB=libtcl76.a
  TCL8X_LIB=libtcl83g.a
else
  TCL76_LIB=libtcl7.6.a#

AFTER:
Note:  Tcl 7.6 on *BSD has a different name for no apparent
reason.
#
TCL8X_DIR=tcl8.3.2
TCL76_DIR=tcl7.6
ifeq (bsd, $(findstring bsd, $(PLATFORM)))
  TCL76_LIB=libtcl76.a
  TCL8X_LIB=libtcl8.3g.a
else
  TCL76_LIB=libtcl7.6.a
  TCL8X_LIB=libtcl8.3g.a
endif



----------------------------------------------------------------------

Comment By: Vince Kraemer (vkraemer)
Date: 2001-04-30 16:27

Message:
Logged In: YES
user_id=208615

Doug,

I don't have an answer for you, but some suggestions that
might help.

1. Compare the following two makefiles:
    /usr/local/aolserver3_3_1/tcl8.3.2/unix/Makefile and
    /usr/local/aolserver3_3_1/tcl7.6/unix/Makefile

2. Compare these makefiles also:
    /usr/local/aolserver3_3_1/tcl8.3.2/Makefile and
    /usr/local/aolserver3_3_1/tcl7.6/Makefile

You may also want to try building a non-debug version and
see if it compiles.


----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=203152&aid=417631&group_id=3152

Reply via email to