|
Majordomo-Users (November 1998) |
Hello: When I attempt to make wrapper I get the following Error - Please see below , any idea what may be causing it. I have made sure the "W_PATH to get the hostname" is correct in the makefile, and the "wrapper.c" is also present in the directory as well. Any Ideas. TIA Bill Tucek # /usr/ccs/bin/make clean rm -f wrapper *~ # /usr/ccs/bin/make wrapper /opt/gcc/bin/gcc -DBIN=\"/opt/majorD1.94.4\" -DPATH=\"PATH=/bin:/usr/bin:/usr/ucb\" -DHOME=\"HOME=/opt/majorD1.94.4\" -DSHELL=\"SHELL=/bin/sh\" -DMAJORDOMO_CF=\"MAJORDOMO_CF=/opt/majorD1.94.4/majordomo.cf\" -DPOSIX_UID=3001 -DPOSIX_GID=19 -o wrapper wrapper.c ld: fatal: file values-Xa.o: open failed: No such file or directory ld: fatal: File processing errors. No output written to wrapper *** Error code 1 make: Fatal error: Command failed for target `wrapper' At 06:09 PM 11/12/98 -0500, Fred Kutell wrote: >First, please make sure you cc the group with your messages. Someone else >might be having the same problem and our one on one conversation might help >them. Also, if someone has had this problem in the past, they might be able >to come up with an answer more quickly. > >What do you mean when you say it just sits there ? Does it return to a prompt >? > >It seems as though what you are doing might be correct. > >-----Original Message----- >From: MIME :tucekw@psi.com >Sent: Thursday, November 12, 1998 4:39 PM >To: Kutell, Fred >Subject: RE: Install Difficulty > > >Fred: > > Thanks for your help, When I run that command nothing happens it just >sits. I have a compiler there but the make file just asks what it was >called not the path. Is that correct! > > ># Put the location of your Perl binary here: >PERL = /opt/perl > ># What do you call your C compiler? >CC = gcc > ># Where do you want Majordomo to be installed? This CANNOT be the ># current directory (where you unpacked the distribution) >W_HOME = /opt/majorD$(VERSION) > > >Thanks, > >Bill Tucek > > > >At 11:25 AM 11/12/98 -0500, you wrote: >>A makefile is a list of rules that used in conjunction with the make program >>build your program. >> >>you will need to unarchive all the files from the Majordomo archive into a >>directory, not the directory that you plan to actually run the program >from. >>I will assume that you have followed the instructions up to step 5, so to do >>step five, be in the directory where you unarchived the majordomo >distribution >>and type "make wrapper",(leave off the "), this will compile the wrapper >>program as long as, and this was another of your questions, you installed >the >>gcc package. See if this helps. If not, continue asking questions. >> >>-----Original Message----- >>From: William T Tucek [mailto:tucekw@psi.com] >>Sent: Thursday, November 12, 1998 8:28 AM >>To: Fred Kutell >>Subject: Re: Install Difficulty >> >> >>Hello: >> >> Thanks for your reply. At this point I am unsure of what the instructions >>are asking. Am I doing a what does it mean to do a make wrapper ? am I >>editing the wrapper file or am I running the wrapper.sh , and from where? >> >> The make install, how is this run? and make install wrapper I am unsure of >>what this means? Also is a compiler needed it just asks it name but not the >>path in the Makefile? >> >> >>Thanks, >> >>Bill Tucek >> >> >> >> >> >> >> >>At 09:00 PM 11/11/98 -0500, you wrote: >>>what problems are you having ? >>> >>>-----Original Message----- >>>From: William T Tucek <tucekw@psi.com> >>>To: majordomo-users@GreatCircle.COM <majordomo-users@GreatCircle.COM> >>>Date: Wednesday, November 11, 1998 8:40 PM >>>Subject: Install Difficulty >>> >>> >>>>Hello: >>>> >>>> I am having problems with the Install, I am stuck on steps 5 - 7 , any >>>>help would be appreciated. >>>> >>>>TIA >>>> >>>>Bill Tucek >>>> >>>> >>>>5) Do a 'make wrapper' to verify that the wrapper program compiles >>>> cleanly. >>>> >>>>6) Do a 'make install' to install the Majordomo programs. This must be >>>> done either as root or as the Majordomo user in order to properly set >>>> the ownership of the various files and directories. >>>> >>>>7) Do a 'make install-wrapper' as root to install the wrapper. This must >>>> be done as root because wrapper must be installed setuid and on POSIX >>>> systems must be owned by root. The wrapper takes care to severely >>>> restrict the programs which may be run by it and further restricts the >>>> environment those programs run with. >>> >>> >>> >> > > Follow-Ups:
|