[hipl-users] Re: Failed build dependencies

  • From: Robert Moskowitz <rgm@xxxxxxxxxxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Mon, 8 Dec 2008 10:36:44 -0500

Miika Komu wrote:
Robert Moskowitz wrote:

Hi,

Miika Komu wrote:
Robert Moskowitz wrote:
Miika Komu wrote:
Robert Moskowitz wrote:

Robert,

Miika Komu wrote:
Robert Moskowitz wrote:

Hi,

Miika Komu wrote:
Robert Moskowitz wrote:
Miika Komu wrote:
Robert Moskowitz wrote:

Hi,

Robert Moskowitz wrote:
Miika Komu wrote:
Robert Moskowitz wrote:
I hit this error while doing a 'make rpm' on Centos 5.2, don't know if the 'make install' had a failure, I did not notice it.

I had not done a 'tla replay' since 11/24 so any patch since then could have resulted in:

uuid-devel is needed by hipl-1.0.4.1.i386

So now I have do find that module....

I was going to answer "yum install uuid-devel" but it seems that the developer library is not actually needed. My bad.

Please replay.

Now you tell me :)


Through some queries on the Centos list, I was told to go to Karan's test repo and there was uuid-devel which needed uuid, also there. So right now the make rpm is running. Once it finishes, I will erase uuid*, do the replay, and build again!

Well I went through all this, and still get the uuid-devel error. This is userspace for Centos where the error occurs. I am at patch 1969.

the above patch version is ok. Does it still repeat with the following:

[mkomu@crossroads hipl--userspace--2.6]$ rpm -qa|grep uuid
uuid-1.6.1-3.fc9.i386

Well, previously I had not even uuid installed (and of course the one I did install and erase earlier was 1.6.1-3.el5). I will reinstall it.

I think this will solve the issue.

New issues:


gcc: ../pjproject/pjnath/lib/libpjnath-hipl.a: No such file or directory
make[1]: *** [hipd] Error1
make[1]: Leaving directory '/usr/src/redhad/BUILD/hipl-1.0.4/hipd'
make: *** [instal-recurisive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.22359 (%install)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.22359 (%install)

I tried this on FC9 and FC10 and could not repeat. Try again by deleting the whole directory and fetching new sources. If it does not work, then please report errors occuring in your hipl source tree:

cd pjproject
./configure
make

No dice. Here is what I did:

renamed the old hipl-userspace--2.6 directory.

tla get hipl-userspace--2.6 hipl-userspace--2.6
cd hipl-userspace--2.6
./autogen.sh
.configure
make install
cd doc
make HOWTO.html
cd ..
make clean rpm

And it dies with the no such file or directory error.

Then I:

cd pjproject
./configure

And I am 'informed' to run 'make dep' then 'make'.

So I:

make dep
make

The later returns a message of nothing to do.

cd ..
make clean
make rpm

same no such file or directory error.

I did some checking on my system.

from the hipl-userspace--2.6 directory:

../pjproject/pjnath/lib/ directory does not exist.

./pjproject/pjnath/lib/ does exist, but it is empty.

perhaps you can just the whole output:

cd some-where-hipl
./autogen.sh
./configure
make rpm

Sure, but this will overflow the 500 line buffer in terminal window. Can these commands have their output piped to a file?

Did you check that you have all the packages installed as mandated by "./autogen.sh --help"? For example, it seems like that you don't have g++ installed:

checking for g++... no
checking for c++... no
checking for gpp... no

What do I look for all of these?

I see:

gcc-4.1.2-42.el5.i386.rpm
libgcc-4.1.2-42.el5.i386.rpm
libstdc++-4.1.2-42.el5.i386.rpm
binutils-2.17.50.0.6-6.el5.i386.rpm
patch-2.5.4-29.2.2.i386.rpm
bzip2-1.0.3-4.el5_2.i386.rpm
bzip2-libs-1.0.3-4.el5_2.i386.rpm
flex-2.5.4a-41.fc6.i386.rpm
automake-1.9.6-2.1.noarch.rpm
imake-1.0.2-3.i386.rpm
make-3.81-3.el5.i386.rpm
gettext-0.14.6-4.el5.i386.rpm
unzip-5.52-2.2.1.i386.rpm
glibc-2.5-24.i686.rpm
glibc-common-2.5-24.i386.rpm
glibc-devel-2.5-24.i386.rpm
glibc-headers-2.5-24.i386.rpm

I see I do not have bison installed.
I cannot find which rpm provides pkg-config, but I have been doing packaging all along...
I don't find libz-dev, but I do have:
zlib-1.2.3-3.i386.rpm
zlib-devel-1.2.3-3.i386.rpm


I believe pjproject had some c++ components.

Uuid is not a problem because you seem to have it anyway:

checking for uuid_generate in -luuid... yes
..
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes




So what do you think I am missing? Since my last successful make, I did erase vnc and vnc-server, then installed tightvnc and tightvnc-server. I MAY have done a Centos update shortly after the make, can't tell from file dates, but there where updates to: nss, libxml2, xulrunner,firefox, libxml2-devel, thunderbird, libxml2-python, nss-tools, and yelp.

I can install bison, as that is clearly listed as a requirement, and it clearly is not installed.

What else should I install/ look for?


Oops. that list was from comparing what the manual said about things needed. I did not look carefully and this manual page is for openWRT <blush>. But when I did the ./autogen.sh --help, it did not list what you show below:

please try:

yum install gcc-c++

and rebuild.

And that worked.

So the question of the day is:

Did it work in the past because gcc-c++ was not needed until after Nov 24th (remember this is the userspace code),

or did it not really work and some of the problems I was seeing was that it was not fully compiled?


ARGH!!!!

please add this to the list of required modules in ./autogen.sh



Other related posts: