[ expat-Bugs-409729 ] Make Fails Digital Unix 4.0d

noreply@sourceforge.net noreply@sourceforge.net
Fri Dec 7 02:38:03 2001


Bugs item #409729, was opened at 2001-03-19 05:43
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=409729&group_id=10127

Category: Build control
Group: Platform Specific
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Greg Stein (gstein)
Summary: Make Fails Digital Unix 4.0d

Initial Comment:
./configure works fine. But when I run >make 
I get nothing
it just exits quietly without doing anything
if I run 
>make install
i get 
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H
-DPACKAGE=expat -DVERSION=1.95.0 -I. -I.. -g -c
libtool: compile: cannot determine name of library
object from '-c'
*** Exit 1
Stop.
*** Exit 1
Stop.
Any help with this bug would be greatly appreciated.
Thanks 
Bill

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

>Comment By: Greg Stein (gstein)
Date: 2001-12-07 02:37

Message:
Logged In: YES 
user_id=6501

Okay... we have a nice, single, top-level Make now, and
clean usage of libtool throughout. Closing this issue.

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

Comment By: Greg Stein (gstein)
Date: 2001-08-26 04:05

Message:
Logged In: YES 
user_id=6501

The build system is being revamped further for the 1.95.3 
release. It should not have a problem.

I will close this bug when the build revamp is completed 
(i.e. when I believe we've truly nailed this issue).

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

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-04-04 18:37

Message:
Logged In: YES 
user_id=3066

Can anyone experiancing this problem reproduce it with the current CVS version?  There have been a fair number of cleanups in the build control (thanks, Greg!).

Assigned to Greg for monitoring.

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

Comment By: Nobody/Anonymous (nobody)
Date: 2001-03-19 09:08

Message:
Logged In: NO 

I could not get this to compile however, from following another lead in the bug reports
I managed to get expat-1.95.1 in setld format for DU4.0d from ftp.thewrittenword.com.
Problem Solved (sort of)

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

Comment By: Nobody/Anonymous (nobody)
Date: 2001-03-19 07:28

Message:
Logged In: NO 

I installed the latest
gnu make and got 
cd lib; /usr/local/bin/make
make[1]: Entering directory `/disk3/install/expat-1.95.1/lib'
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -DPACKAGE=expat -DVERSION=expat_1.95.1 -I. -I.. 
 -g -c xmlparse.c
rm -f .libs/xmlparse.lo
cc -DHAVE_CONFIG_H -DPACKAGE=\expat\ -DVERSION=\expat_1.95.1\ -I. -I.. -g 
-Wp,-MD,.deps/xmlparse.pp -c xmlparse.c  -DPIC -o .libs/xmlparse.lo
cc: Severe: No such file or directory
... file is '.deps/xmlparse.pp'
make[1]: *** [xmlparse.lo] Error 1
make[1]: Leaving directory `/disk3/install/expat-1.95.1/lib'
make: *** [lib] Error 2

so I looked through the old bug fixes and attempted to fix things by 
altering lib/Makefile.in according to other fixes: 

first I tried this:

commenting out the following rules
        @echo '$(COMPILE) -c $<'; \
#       $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
#       @-cp .deps/$(*F).pp .deps/$(*F).P; \
#       tr ' ' '\012' < .deps/$(*F).pp \
#         | sed -e 's/^\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
#           >> .deps/$(*F).P; \
#       rm .deps/$(*F).pp

.c.lo:
        @echo '$(LTCOMPILE) -c $<'; \
#       test -d .deps || mkdir .deps ; \
#       $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
#       @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
#         < .deps/$(*F).pp > .deps/$(*F).P; \
#       tr ' ' '\012' < .deps/$(*F).pp \
#         | sed -e 's/^\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
#           >> .deps/$(*F).P; \
#       rm -f .deps/$(*F).pp
 and got this

make[1]: Entering directory `/disk3/install/expat-1.95.1/lib'
cd .. \
  && CONFIG_FILES=lib/Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating lib/Makefile
make[1]: Leaving directory `/disk3/install/expat-1.95.1/lib'
make[1]: Entering directory `/disk3/install/expat-1.95.1/lib'
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -DPACKAGE=expat -DVERSION=expat_1.95.1 -I. -I.. 
 -g -c xmlparse.c
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -DPACKAGE=expat -DVERSION=expat_1.95.1 -I. -I.. 
 -g -c xmltok.c
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -DPACKAGE=expat -DVERSION=expat_1.95.1 -I. -I.. 
 -g -c xmlrole.c
/bin/sh ../libtool --mode=link  cc -version-info 0:1:0 -g  -o libexpat.la -rpath /usr/local/lib  xmlparse.lo 
xmltok.lo xmlrole.lo
rm -fr .libs/libexpat.la .libs/libexpat.* .libs/libexpat.*
(cd . && ln -s xmlparse.lo xmlparse.o)
(cd . && ln -s xmltok.lo xmltok.o)
ln: xmltok.o exists, specify -f to remove.
make[1]: *** [libexpat.la] Error 1
make[1]: Leaving directory `/disk3/install/expat-1.95.1/lib'
make: *** [lib] Error 2

then i tried changing lines with

 -Wp,-MD,.
to
 -Wp,-M.
 
and got :
make[1]: Entering directory `/disk3/install/expat-1.95.1/lib'
cd .. \
  && CONFIG_FILES=lib/Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating lib/Makefile
make[1]: Leaving directory `/disk3/install/expat-1.95.1/lib'
make[1]: Entering directory `/disk3/install/expat-1.95.1/lib'
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -DPACKAGE=expat -DVERSION=expat_1.95.1 -I. -I.. 
 -g -c xmlparse.c
rm -f .libs/xmlparse.lo
cc -DHAVE_CONFIG_H -DPACKAGE=\expat\ -DVERSION=\expat_1.95.1\ -I. -I.. -g 
-Wp,-M.deps/xmlparse.pp -c xmlparse.c  -DPIC -o .libs/xmlparse.lo
cc: Error: Extraneous text follows Boolean option name in "-M.deps/xmlparse.pp"
make[1]: *** [xmlparse.lo] Error 1
make[1]: Leaving directory `/disk3/install/expat-1.95.1/lib'
make: *** [lib] Error 2

Still looking for a solution.

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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=409729&group_id=10127