[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference cookie::archive_backup

Title:Archive/Backup
Moderator:COOKIE::MHUAIG
Created:Wed Sep 08 1993
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:479
Total number of notes:2283

370.0. "hp-unix agent install fails" by UTRTSC::KNOL (isn't every bug a bit wrong) Thu Jan 30 1997 03:36

    a customer is trying to install the agent on a HP unix V10 system
    He is getting errors in the configure stage and following message
    is from the config.log
    
    config.log:
    
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    
    cc: "configure", line 2464: warning 604: Pointers are not
    assignment-compatible.
    cc: "configure", line 2464: warning 563: Argument #1 is not the correct
    type.
    cc: "configure", line 2469: error 1527: Incompatible types in cast:
    Must cast from scalar to scalar or to void type.
     
    
    and ofcourse the make fails too.
    
    I've installed the same tar on a digital alpha/unix platform 
    without a problem
    What is wrong. 
    
    -jan
T.RTitleUserPersonal
Name
DateLines
370.1working this offlineCOOKIE::LEWISTue Feb 04 1997 11:065
	I have tried a few things, but have not resolved this yet.  I have sent
mail to Jay to bring it to his attention, and I've sent mail to Jan to let him
know.  We don't have anything to report yet.  When we do, we will post the
results here.
jim
370.2some new infoCOOKIE::LEWISTue Feb 04 1997 15:3941
Ok, the errors in the config.log file can be ignored.  It is Ok for there
to be errors in the configure file.  We have them on Digital unix also. It
is ok.  While configure is running it tries to determine what your system
can and cannot do, and what the compiler can and cannot do.  So, it tries some
commands and looks at the results (errors in this case) and then it knows if
it can use a particular function or not.  So, these errors in the config.log
are just indications of the capabilities of the system so configure knows what
it can and cannot use.

On our build on hp/unix v9 (I don't have v10) we were getting errors on
the intl directory.  The problem seemed to be the tag OBJECTS was not
filled in with anything.  It is not filled with anything because on the
command we told it not to do internationalization stuff (that's what the
--disable-nls does).  We turn the internationalization off because it was 
causing other problems.  However, when we tell it to ignore the
internationalization, it makes OBJECTS have a null value.  This is OK for some
flavors of make (all that we tried), but apparently NOT ok on the HP.
So, when it went to build it, the HP make died.
The digital unix make accepts a blank for OBJECTS and goes on, but apparently
the HP make doesn't like a null value for OBECTS. 

 So, we edited the file 
Makefile in the intl directory (wherever_you_put_it/tar-1.11.8/intl/Makefile)
                                                    ************************
and commented out the OBJECTS test as follows:

# $(OBJECTS): ../config.h libgettext.h
***
(note the # at the beginning for a comment).

With this fix, the make was successful.

(When we did it, we copied the tar file to the hp/unix box, un-tar'd the files,
ran configure, then edited the intl/Makefile, and finally ran the Make from the
tar-1.11.8 directory.)

Give that a try, and if it doesn't work, let us know, and send us the results
of the make, including any errors received.

Thanks!
Jim & Jay, ABS Engineering.