zsh-workers
 help / color / mirror / code / Atom feed
* problem creating zsh
@ 2001-05-14 18:04 Chakraborty Tapesh 810-947-8688
  2001-05-15 15:21 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Chakraborty Tapesh 810-947-8688 @ 2001-05-14 18:04 UTC (permalink / raw)
  To: zsh-workers


[-- Attachment #1.1: Type: text/plain, Size: 617 bytes --]

i am having a lot of difficulty creating the zsh.  i am attaching the
error messages. i will appreciate very much if you cwould give me a
hand.

regards,
tapesh

--
+***********************************************+
* Tapesh Chakraborty, Ph.D                      *
* Phone : (810) 578-3533 / 8-549-3533 (GM)      *
* Fax   : (810) 578-3578 / 8 549-3578           *
* Address:      General Motors Corporation      *
*               Mail Code: 480-400-111          *
*               6600 E. 12 Mile Road            *
*               Warren, Michigan 48092-5905     *
+***********************************************+



[-- Attachment #1.2: Type: text/html, Size: 1296 bytes --]

[-- Attachment #2: junk --]
[-- Type: text/plain, Size: 7104 bytes --]

caehd03f:nz9rnq> make
No suffix list.
        cd Src && make CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H'  CFLAGS='-Wall -Wno-implicit -Wmissing-prototypes -O2' LDFLAGS='' LIBS='-lnsl  -ltermcap'  prefix='/home/nz9rnq/zsh-3.0.8' exec_prefix='/home/nz9rnq/zsh-3.0.8' bindir='/home/nz9rnq/zsh-3.0.8/bin'  infodir='/home/nz9rnq/zsh-3.0.8/info' mandir='/home/nz9rnq/zsh-3.0.8/man' manext='1'
        sed -n -f ./makepro.sed builtin.c > builtin.pro
        sed -n -f ./makepro.sed compat.c > compat.pro
        sed -n -f ./makepro.sed cond.c > cond.pro
        sed -n -f ./makepro.sed exec.c > exec.pro
        sed -n -f ./makepro.sed glob.c > glob.pro
        sed -n -f ./makepro.sed hashtable.c > hashtable.pro
        sed -n -f ./makepro.sed hist.c > hist.pro
        sed -n -f ./makepro.sed init.c > init.pro
        sed -n -f ./makepro.sed input.c > input.pro
        sed -n -f ./makepro.sed jobs.c > jobs.pro
        sed -n -f ./makepro.sed lex.c > lex.pro
        sed -n -f ./makepro.sed linklist.c > linklist.pro
        sed -n -f ./makepro.sed loop.c > loop.pro
        sed -n -f ./makepro.sed math.c > math.pro
        sed -n -f ./makepro.sed mem.c > mem.pro
        sed -n -f ./makepro.sed params.c > params.pro
        sed -n -f ./makepro.sed parse.c > parse.pro
        sed -n -f ./makepro.sed signals.c > signals.pro
        sed -n -f ./makepro.sed subst.c > subst.pro
        sed -n -f ./makepro.sed text.c > text.pro
        sed -n -f ./makepro.sed utils.c > utils.pro
        sed -n -f ./makepro.sed watch.c > watch.pro
        sed -n -f ./makepro.sed zle_hist.c > zle_hist.pro
        sed -n -f ./makepro.sed zle_main.c > zle_main.pro
        sed -n -f ./makepro.sed zle_misc.c > zle_misc.pro
        sed -n -f ./makepro.sed zle_move.c > zle_move.pro
        sed -n -f ./makepro.sed zle_refresh.c > zle_refresh.pro
        sed -n -f ./makepro.sed zle_tricky.c > zle_tricky.pro
        sed -n -f ./makepro.sed zle_utils.c > zle_utils.pro
        sed -n -f ./makepro.sed zle_vi.c > zle_vi.pro
        sed -n -f ./makepro.sed zle_word.c > zle_word.pro
        gawk -f ./signames.awk /usr/include/sys/signal.h > signames.h
gawk -f ./rlimits.awk /usr/include/sys/resource.h > rlimits.h
        gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 builtin.c
In file included from /usr/include/sys/time.h:473,
                 from /usr/include/time.h:17,
                 from system.h:103,
                 from zsh.h:59,
                 from builtin.c:30:
/usr/include/sys/_fd_macros.h:70: warning: `FD_SET' redefined
/usr/std/lib/gcc-lib/hppa1.1-hp-hpux9.03/2.7.1/include/sys/types.h:256: warning: this is the location of the previous definition
/usr/include/sys/_fd_macros.h:71: warning: `FD_CLR' redefined
/usr/std/lib/gcc-lib/hppa1.1-hp-hpux9.03/2.7.1/include/sys/types.h:257: warning: this is the location of the previous definition
/usr/include/sys/_fd_macros.h:72: warning: `FD_ISSET' redefined
/usr/std/lib/gcc-lib/hppa1.1-hp-hpux9.03/2.7.1/include/sys/types.h:258: warning: this is the location of the previous definition
/usr/include/sys/_fd_macros.h:73: warning: `FD_ZERO' redefined
/usr/std/lib/gcc-lib/hppa1.1-hp-hpux9.03/2.7.1/include/sys/types.h:261: warning: this is the location of the previous definition
In file included from /usr/include/unistd.h:11,
                 from system.h:55,
                 from zsh.h:59,
                 from builtin.c:30:
/usr/include/sys/unistd.h:287: parse error before `ualarm'
/usr/include/sys/unistd.h:287: warning: parameter names (without types) in function declaration
/usr/include/sys/unistd.h:287: warning: data definition has no type or storage class
/usr/include/sys/unistd.h:288: warning: parameter names (without types) in function declaration
In file included from /usr/include/sys/stat.h:33,
                 from system.h:62,
                 from zsh.h:59,
                 from builtin.c:30:
/usr/include/sys/_stat_body.h:29: parse error before `blkcnt_t'
/usr/include/sys/_stat_body.h:29: warning: no semicolon at end of struct or union
/usr/include/sys/_stat_body.h:30: parse error before `:'
/usr/include/sys/_stat_body.h:32: parse error before `:'
/usr/include/sys/_stat_body.h:33: parse error before `:'
/usr/include/sys/_stat_body.h:34: parse error before `:'
/usr/include/sys/_stat_body.h:62: parse error before `}'
In file included from /usr/include/sys/time.h:473,
                 from /usr/include/time.h:17,
                 from system.h:103,
                 from zsh.h:59,
                 from builtin.c:30:
/usr/include/sys/_fd_macros.h:62: conflicting types for `fd_set'
/usr/std/lib/gcc-lib/hppa1.1-hp-hpux9.03/2.7.1/include/sys/types.h:254: previous declaration of `fd_set'
In file included from zsh.h:59,
                 from builtin.c:30:
system.h:109: redefinition of `struct timezone'
In file included from zsh.h:1420,
                 from builtin.c:30:
globals.h:473: `RLIM_NLIMITS' undeclared here (not in a function)
globals.h:474: `RLIM_NLIMITS' undeclared here (not in a function)
builtin.c: In function `bin_cd':
builtin.c:1006: storage size of `st1' isn't known
builtin.c:1006: storage size of `st2' isn't known
builtin.c:1006: warning: unused variable `st2'
builtin.c:1006: warning: unused variable `st1'
builtin.c: In function `bin_limit':
builtin.c:3761: `RLIMIT_CPU' undeclared (first use this function)
builtin.c:3761: (Each undeclared identifier is reported only once
builtin.c:3761: for each function it appears in.)
builtin.c: In function `bin_unlimit':
builtin.c:3860: `RLIM_NLIMITS' undeclared (first use this function)
builtin.c:3862: `RLIM_INFINITY' undeclared (first use this function)
builtin.c: In function `bin_ulimit':
builtin.c:3952: `RLIM_NLIMITS' undeclared (first use this function)
builtin.c:3956: `RLIMIT_CPU' undeclared (first use this function)
builtin.c:3959: `RLIMIT_FSIZE' undeclared (first use this function)
builtin.c:3962: `RLIMIT_DATA' undeclared (first use this function)
builtin.c:3965: `RLIMIT_STACK' undeclared (first use this function)
builtin.c:3968: `RLIMIT_CORE' undeclared (first use this function)
builtin.c:4046: warning: unreachable code at beginning of switch statement
builtin.c:4072: `RLIM_INFINITY' undeclared (first use this function)
builtin.c: In function `showlimits':
builtin.c:4112: `RLIM_INFINITY' undeclared (first use this function)
builtin.c:4114: `RLIMIT_CPU' undeclared (first use this function)
builtin.c: In function `printulimit':
builtin.c:4187: `RLIMIT_CPU' undeclared (first use this function)
builtin.c:4191: `RLIMIT_FSIZE' undeclared (first use this function)
builtin.c:4194: `RLIM_INFINITY' undeclared (first use this function)
builtin.c:4197: `RLIMIT_DATA' undeclared (first use this function)
builtin.c:4203: `RLIMIT_STACK' undeclared (first use this function)
builtin.c:4209: `RLIMIT_CORE' undeclared (first use this function)
builtin.c:4293: warning: unreachable code at beginning of switch statement
builtin.c: In function `bin_dot':
builtin.c:4834: storage size of `st' isn't known
builtin.c:4834: warning: unused variable `st'
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problem creating zsh
  2001-05-14 18:04 problem creating zsh Chakraborty Tapesh 810-947-8688
@ 2001-05-15 15:21 ` Bart Schaefer
  2001-05-16 17:46   ` Chakraborty Tapesh 810-578-3533
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2001-05-15 15:21 UTC (permalink / raw)
  To: Chakraborty Tapesh 810-947-8688, zsh-workers

I've looked at this a bit, but I don't have access to an HPUX 9.03 system
any more; and even when I did some years back, I only ever used the HP
compiler, not gcc.

If you really want help with this sort of thing, you need to give a lot
more information -- what operating system you're using, what options you
passed to configure, what appears in your config.h file after configure,
what version of zsh you are compiling, etc.  I had to figure out your
operating system by reading the paths of the include files in the compiler
warnings (which is only possible because of the way gcc installs itself),
and the zsh version from the prefix= argument in the make command.

I first suggest that you pick up zsh 4.0.1-pre-4 from
    ftp://ftp.zsh.org/pub/development/zsh-4.0.1-pre-4.tar.gz
and see whether that version builds.  There have been several changes to
the configure script and related headers since 3.0.8.  If that doesn't
work, contact zsh-workers again with a full description of the steps you
followed to build zsh, and include your config.h file.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problem creating zsh
  2001-05-15 15:21 ` Bart Schaefer
@ 2001-05-16 17:46   ` Chakraborty Tapesh 810-578-3533
  0 siblings, 0 replies; 3+ messages in thread
From: Chakraborty Tapesh 810-578-3533 @ 2001-05-16 17:46 UTC (permalink / raw)
  To: Bart Schaefer; +Cc: zsh-workers

bart
	thanks for getting back to me.  i am using HP-UX 11.0.  as per
your suggestion, i used ansi 'c' compiler instead of gcc and everything
worked fine (both zsh-3.0.8 and zsh-4.0.1-pre-4 got built).

this is what i did:
CC=/opt/ansic/bin/cc ./configure
make
make install

again, thanks very much for your help.

regards,

tapesh


+***********************************************+
* Tapesh Chakraborty, Ph.D			*
* Phone	: (810) 578-3533 / 8-549-3533 (GM)	*
* Fax   : (810) 578-3578 / 8 549-3578		*
* Address:	General Motors Corporation	*
*		Mail Code: 480-400-111		*
*		6600 E. 12 Mile Road		*
*		Warren, Michigan 48092-5905	*
+***********************************************+




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-05-16 17:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-14 18:04 problem creating zsh Chakraborty Tapesh 810-947-8688
2001-05-15 15:21 ` Bart Schaefer
2001-05-16 17:46   ` Chakraborty Tapesh 810-578-3533

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).