Bug #1021

nel-misc.pc install file missing ubuntu / debian linux

Added by piotter about 8 years ago. Updated about 8 years ago.

Status:Closed Start date:07/15/2010
Priority:Low Due date:
Assignee:kervala % Done:

100%

Category:Build
Target version:Version 0.8.0

Description

Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/bin/nel-config
CMake Error at src/misc/cmake_install.cmake:36 (FILE):
file INSTALL cannot find file
"/home/mx/ryzom/code/nel/build/src/misc/nel-misc.pc" to install.
Call Stack (most recent call first):
src/cmake_install.cmake:37 (INCLUDE)
cmake_install.cmake:41 (INCLUDE)

Seems to be a map error
File location is /home/mx/ryzom/code/nel/build/nel-misc.pc , file is present, i think two dots are missing ..

Build following http://dev.ryzom.com/wiki/ryzom/BuildForLinuxCmake
make -j3 was succesfull

History

#1 Updated by piotter about 8 years ago

manually fixed the path for nel-misc.pc

The error is present in all cmake_install.cmake files

CMake Error at src/3d/cmake_install.cmake:36 (FILE):
file INSTALL cannot find file
"/home/mx/ryzom/code/nel/build/src/3d/nel-3d.pc" to install.
Call Stack (most recent call first):
src/cmake_install.cmake:38 (INCLUDE)
cmake_install.cmake:41 (INCLUDE)

The error is in make, the directory lookup has the error

#2 Updated by piotter about 8 years ago

piotter wrote:

Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/bin/nel-config
CMake Error at src/misc/cmake_install.cmake:36 (FILE):
file INSTALL cannot find file
"/home/mx/ryzom/code/nel/build/src/misc/nel-misc.pc" to install.
Call Stack (most recent call first):
src/cmake_install.cmake:37 (INCLUDE)
cmake_install.cmake:41 (INCLUDE)

Seems to be a map error
File location is /home/mx/ryzom/code/nel/build/nel-misc.pc , file is present, i think two dots are missing ..

Build following http://dev.ryzom.com/wiki/ryzom/BuildForLinuxCmake
make -j3 was succesfull

On Ubuntu Karmic

#3 Updated by piotter about 8 years ago

Same error came up 13 days ago in the second part of this forum post
http://dev.ryzom.com/boards/17/topics/2761

#4 Updated by piotter about 8 years ago

echo Get checkinstall to handle the deb packages in Synaptic
sudo apt-get install checkinstall
echo Copy the missing install files from the build directory into place
cp nel-misc.pc $HOME/ryzom/code/nel/build/src/misc/nel-misc.pc
cp nel-3d.pc $HOME/ryzom/code/nel/build/src/3d/nel-3d.pc
cp nel-georges.pc $HOME/ryzom/code/nel/build/src/georges/nel-georges.pc
cp nel-ligo.pc $HOME/ryzom/code/nel/build/src/ligo/nel-ligo.pc
cp nel-net.pc $HOME/ryzom/code/nel/build/src/net/nel-net.pc
cp nel-sound.pc $HOME/ryzom/code/nel/build/src/sound/nel-sound.pc
cp nel-pacs.pc $HOME/ryzom/code/nel/build/src/pacs/nel-pacs.pc
sudo checkinstall -y -D
echo Installer is done

#5 Updated by kervala about 8 years ago

I can't reproduce this bug. I'm under Ubuntu 10.04 64bits. When I'm doing "make", it creates .pc files in the correct directory "build/src/<lib>/" and when I type "make install" it finds .pc files and copy them in the correct directory "/usr/local/lib/pkgconfig"

Have all .pc files been generated in your "build/" directory ?

Please could you provide your CMake version ?

Edit: Ok, I checked and it's CMake 2.6.4

#6 Updated by piotter about 8 years ago

Its Cmake 2.6.4 on Karmic, can't update to Lucid gives a blanc screen/nvidia error.
I''' rebuild for clean .pc locations

Is there a way to retrieve the version number from the mercurail download ? hg id -i gives a hash number (d4a723cbc5ba)

thanks

PI

#7 Updated by kervala about 8 years ago

  • Status changed from New to Assigned
  • Assignee set to kervala
  • Priority changed from Urgent to Low

You can use : hg summary

#8 Updated by kervala about 8 years ago

Please could you pull/update ?

I think it should be fixed now (but I'm not sure).

#9 Updated by piotter about 8 years ago

Your update worked, builds with checkinstall without patching. Thanks

The command to find the mercurial version is hg tip -vp

[CLOSED]

Cheers

Pi

#10 Updated by kervala about 8 years ago

  • Status changed from Assigned to Resolved
  • Target version set to Version 0.8.0
  • % Done changed from 0 to 100

Thanks a lot :)

#11 Updated by kervala about 8 years ago

  • Category changed from OS: GNU/Linux to Build

#12 Updated by kervala about 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF