bugGNU Common Lisp - Bugs: bug #16699, Sun's awk is not supported.

 
 

bug #16699: Sun's awk is not supported.

Submitter:  Dr. David Kirkby <drkirkby>
Submitted:  Mon 29 May 2006 09:43:17 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 15 Sep 2006 08:07:55 PM UTC, comment #1: 

Greetings!  Fixed in 2.6.8pre and cvs head.
Take care,

Camm Maguire <camm>
Group administrator
Mon 29 May 2006 09:43:17 PM UTC, original submission:  

Running a Sun with Solaris 10, in which there is both awk and the GNU awk, named gawk, gcl-2.6.7 seemd to use awk, but it is not compatible. (It looks for and finds the GNU awk).

Since it seems to want the GNU awk, there should be a way of specifying what awk to use as an argument to the configure script, or perhaps an enviroment variable. If if really needs GNU awk, and no other, then it should test for it.

sparrow /tmp/gcl-2.6.7 % ./configure ; gmake
creating cache ./config.cache
checking host system type... sparc-sun-solaris2.10
host=sparc-sun-solaris2.10
enable_machine=
use=solaris
checking for gcc... gcc
checking whether the C compiler (gcc    ) works... yes
checking whether the C compiler (gcc    ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for gawk... gawk
checking system version (for dynamic loading)... checking for makeinfo... makeinfo
SunOS-5.10
checking for unistd.h... yes
checking for sysconf in -lc... yes
checking for _SC_CLK_TCK... 100
checking for gmp.h... yes
checking for __gmpz_init in -lgmp... yes
checking for external gmp version... checking for leading underscore in object symbols... no
checking for GNU ld option -Map... no
checking for size of gmp limbs... 4
checking _SHORT_LIMB... no
checking _LONG_LONG_LIMB... no
checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include
checking whether -R must be followed by a space... no
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
-I/usr/openwin/include
-L/usr/openwin/lib -R/usr/openwin/lib
-lsocket -lnsl
-lSM -lICE
checking for main in -lXmu... yes
checking for main in -lXt... yes
checking for main in -lXext... yes
checking for main in -lXaw... yes
checking for main in -lX11... yes
checking for bfd.h... yes
checking for bfd_init in -lbfd... no
checking for useable bfd_boolean... yes
./configure: !: not found
checking size of long... 4
checking sizeof struct contblock... 8
checking for endian.h... no
checking for sbrk... yes
checking for randomized sbrk... no
checking finding DBEGIN... got 0x0
checking finding CSTACK_ADDRESS... got -4198612
checking sizeof long long int... yes
checking for pagewidth... 13
checking for getcwd... yes
checking for getwd... yes
checking for uname... yes
checking for gettimeofday... yes
checking for sys/ioctl.h... yes
checking for elf.h... yes
checking for elf_abi.h... no
checking for BSDgettimeofday... no
checking for gettimeofday... (cached) yes
checking for gettimeofday declaration... present
checking for sin in -lm... yes
checking for main in -lmingwex... no
checking for math.h... yes
checking for values.h... yes
checking for float.h... yes
checking for isnormal... checking for fpclass in ieeefp.h... yes
checking for isfinite... checking for finite()... yes
checking for sockets... checking for connect... (cached) no
checking for main in -lsocket... yes
checking for gethostbyname... (cached) no
checking for main in -lnsl... yes
checking for readline/readline.h... no
checking for rl_completion_matches in -lreadline... no
checking For network code for nsocket.c... no
checking check for listen using fcntl... yes
checking for profil... yes
checking for setenv... yes
checking for _cleanup... yes
checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
checking check for SV_ONSTACK... no
checking check for SIGSYS... yes
checking check for SIGEMT... yes
checking for asm/sigcontext.h... no
checking for asm/signal.h... no
checking for sigcontext...... sigcontext NOT in signal.h
checking for sigcontext...... no sigcontext found
checking for emacs... /opt/sfw/bin/emacs
checking emacs site lisp directory... /opt/sfw/share/emacs/21.3/site-lisp
checking emacs default.el... /opt/sfw/share/emacs/21.3/site-lisp/default.el
checking emacs info/dir... unknown/
checking for tcl/tk... checking for tclsh... tclsh
checking for main in -llieee... no
using TK_VERSION=8.4 in /usr/local/lib
checking alloca... yes
checking Checking for buggy gcc version from redhat... no
updating cache ./config.cache
creating ./config.status
creating makedefc
creating windows/gcl.iss
creating windows/sysdir.bat
creating windows/install.lsp
creating h/gclincl.h
makedefc

# begin makedefs

# use=solaris

# for main link of raw_gcl
LIBS=    -lm  -lgmp -lbfd -liberty -lsocket -lnsl

#The multi precision library stuff
MPFILES=$(MPDIR)/@MPI_FILE@ $(MPDIR)/libmport.a


# root for the installation, eg /usr/local
# This would cause make install to create /usr/local/bin/gcl and
# /usr/local/lib/gcl-2-??/* with some basic files.
prefix=/usr/local

# where to place the info files
INFO_DIR=unknown/

# where to put emacs lisp files.
EMACS_SITE_LISP=/opt/sfw/share/emacs/21.3/site-lisp

# the default.el file
EMACS_DEFAULT_EL=/opt/sfw/share/emacs/21.3/site-lisp/default.el

# numerous TCL/TK variables culled from the tkConfig.sh and tclConfig.sh
# if these are found.
TK_CONFIG_PREFIX=/usr/local/lib
TK_LIBRARY=/usr/local/lib/tk8.4
TCL_LIBRARY=/usr/local/lib/tcl8.4
TK_XINCLUDES=-I/usr/openwin/include
TK_INCLUDE=-I/usr/local/lib/../include
TCL_INCLUDE=-I/usr/local/lib/../include
TK_LIB_SPEC=-L/usr/local/lib -ltk8.4
TK_BUILD_LIB_SPEC=-L/usr2/SOURCES/S10/tk8.4.9/unix -ltk8.4
TK_XLIBSW=-L/usr/openwin/lib -lX11
TK_XINCLUDES=-I/usr/openwin/include
TCL_LIB_SPEC=-L/usr/local/lib -ltcl8.4${TCL_DBGX}
TCL_DL_LIBS=-ldl
TCL_LIBS=-ldl -lsocket -lnsl -lm

NOTIFY=yes
CC=gcc
CFLAGS=  -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer  -I$(GCLDIR)/o
FINAL_CFLAGS=  -Wall -DVOL=volatile -fsigned-char -pipe
NIFLAGS=  -Wall -DVOL=volatile -fsigned-char -pipe   -I$(GCLDIR)/o
O3FLAGS=-O3 -fomit-frame-pointer
O2FLAGS=-O

RL_OBJS=

RL_LIB=

MAKEINFO=makeinfo

FLISP=saved_gcl
SYSTEM=gcl
BUILD_BFD=
GMPDIR=gmp3
X_LIBS= -L/usr/openwin/lib -R/usr/openwin/lib -lXmu -lXt -lXext -lXaw -lX11
X_CFLAGS= -I/usr/openwin/include

PROCESSOR_FLAGS=

EXTRA_LOBJS=
LEADING_UNDERSCORE=
GNU_LD=
add-defs1 solaris
using solaris.defs
 if the 'unknown' directories exist you may provide
a second argument to ./add-defs of a local directory where things might be,
or edit ./add-defs so that it can find them.   Otherwise just continue
and the portions with unknown will not be compiled.
(cd o && gmake ../h/new_decl.h)
gmake[1]: Entering directory `/tmp/gcl-2.6.7/o'
gcc  -o grab_defs  grab_defs.c
gcc -c -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer  -I/tmp/gcl-2.6.7/o -I../h -I../gcl-tk plttest.c
nm plttest.o | awk '/ U / {a=$2;if (k) sub("^_","",a);\
                            b=a;gsub("_","",b);\
                            if (match(j,b)) printf("MY_PLT(%s)\n",a)}' \
                j="$(awk '/main/ {i=1;next} {if (!i) next} /^ [a-zA-Z_]\(/ {sub("\\(.*$","",$1);print $1}' plttest.c)" k= | sort | awk '{A[++k]=$0} END {for (i=1;i<=k;i++) printf("%s%s\n",A[i],i==k ? "" : ",");}' >plt.h
awk: syntax error near line 1
awk: illegal statement near line 1
awk: syntax error near line 1
awk: illegal statement near line 1
awk: syntax error near line 1
awk: illegal statement near line 1
awk: syntax error near line 1
awk: illegal statement near line 1
awk: syntax error near line 1
awk: illegal statement near line 1
gmake[1]: * [plt.h] Error 2
gmake[1]: Leaving directory `/tmp/gcl-2.6.7/o'
gmake: * [h/new_decl.h] Error 2

Dr. David Kirkby <drkirkby>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-09-15 camm StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code