User forums > Help

[Linux]Error when building .deb package for rev2526

<< < (2/2)

Michael:

--- Quote from: Game_Ender on June 05, 2006, 03:43:29 pm ---
--- Quote from: Michael on June 04, 2006, 08:10:44 pm ---1) sudo aclocal
2) sudo ./bootstrap
3) sudo ./configure --enable-contrib

--- End quote ---

The real question is why weren't you doing this from start? Maybe I am paranoid but I have always been suspicious that autotool created build files will work after an update.  So I have figured you need to regenerate the build system after each update.

--- End quote ---

When I have tried to build a .deb package of rev2526 (with the changes suggested by daniel2000), I got an error. I have remarked that sometime re-doing a ./configure solved the problem. Anyway, not in this case. So, I have re-done a ./bootstrap to regenerate all. But during the bootstrap, I was told to do an aclocal.

Anyway, I am still learning Linux :).


--- Quote from: Game_Ender on June 05, 2006, 03:43:29 pm ---I don't think the aclocal is needed I would do:

--- Code: ---make distclean
./bootstrap
./configure --enable-contrib
make
sudo make install # sudo only need if install system wide
--- End code ---

--- End quote ---

I was told to run aclocal (I never run it before).


--- Quote from: Game_Ender on June 05, 2006, 03:43:29 pm ---By the way, why do you have to be root to bootstrap and configure?  Is that do to the package building environment?

--- End quote ---

No, probaly just a mistake from my part :(.

Best wishes,
Michael

TheTuxKeeper:

--- Quote from: Michael on June 05, 2006, 05:47:45 pm ---I was told to run aclocal (I never run it before).

--- End quote ---
./bootstrap is running aclocal, so I think either that it's not necessary to run it by your own :)

--- Quote from: Game_Ender on June 05, 2006, 03:43:29 pm ---The real question is why weren't you doing this from start? Maybe I am paranoid but I have always been suspicious that autotool created build files will work after an update.  So I have figured you need to regenerate the build system after each update.

--- End quote ---
You don't trust autotools  :twisted:
Usually autotools does what it should, regenerate the build system if needed. But I think there are scenarios where autotools needs a manual regeneration of the build system. But I never had problems with autotools due to an outdated build system.

Michael:

--- Quote from: daniel2000 on June 05, 2006, 07:06:27 pm ---
--- Quote from: Michael on June 05, 2006, 05:47:45 pm ---I was told to run aclocal (I never run it before).

--- End quote ---
./bootstrap is running aclocal, so I think either that it's not necessary to run it by your own :)

--- End quote ---

Hello,

Ok, I understand :). Anyway, ./bootstrap asked me to run aclocal....so I did as it wanted..... :roll:

Best wishes,
Michael

Navigation

[0] Message Index

[*] Previous page

Go to full version