problem to install MakeHuman deb package

If your topic doesn't fit anywhere else, put it here.

Moderator: joepal

problem to install MakeHuman deb package

Postby bitacovir » Thu Oct 03, 2013 8:53 am

I downloaded a deb package of MakeHuman to install it in Lubuntu (quantal) but deb manager showed a dependency problem with libglew.so.1.5 So, I understood I need to install this file and I did with apt-get. However, the deb manager again shows messages of problems of dependency with libglew.so.1.5

Someone else had this problem?
bitacovir
 
Posts: 5
Joined: Thu Oct 03, 2013 8:39 am

Re: problem to install MakeHuman deb package

Postby duststorm » Thu Oct 03, 2013 11:05 am

bitacovir wrote:deb manager showed a dependency problem with libglew.so.1.5 So, I understood I need to install this file and I did with apt-get. However, the deb manager again shows messages of problems of dependency with libglew.so.1.5

Dependency conflicts may arise if you are mixing official and official repositories. They have nothing to do with the MH package directly, but rather with your system configuration.
You can check the origins of all packages involved in the conflict by doing
apt-cache showpkg <package name>

If they're not ubuntu official repo's, then that is probably the cause. In that case you could try removing the offending unofficial repos and reinstalling the official packages.

The fact that you have a conflict with libglew suggests that you have installed games or other 3d software from unofficial sources. This is why some people tell you that using custom APT or PPA repositories is not a good idea. Sometimes these repositories replace the libraries that come with your system by new versions and that can cause conflicts with other software.

If I misunderstood you and the package manager is simply saying that it does not know a package named libglew 1.5, then maybe your distro comes with a newer version of the package. It's possible that the MH build will work with that newer version, but the deb package could require version 1.5 specifically.
You could try downloading the tarball instead of the deb package.

You can also try the nightly build of MH alpha 8. It has fewer dependencies and is newer, so there's a better chance that it's compatible.
MakeHuman™ developer
User avatar
duststorm
 
Posts: 2569
Joined: Fri Jan 27, 2012 11:57 am
Location: Belgium

Re: problem to install MakeHuman deb package

Postby bitacovir » Thu Oct 03, 2013 5:05 pm

duststorm wrote:
bitacovir wrote:deb manager showed a dependency problem with libglew.so.1.5 So, I understood I need to install this file and I did with apt-get. However, the deb manager again shows messages of problems of dependency with libglew.so.1.5

Dependency conflicts may arise if you are mixing official and official repositories. They have nothing to do with the MH package directly, but rather with your system configuration.
You can check the origins of all packages involved in the conflict by doing
apt-cache showpkg <package name>

If they're not ubuntu official repo's, then that is probably the cause. In that case you could try removing the offending unofficial repos and reinstalling the official packages.

The fact that you have a conflict with libglew suggests that you have installed games or other 3d software from unofficial sources. This is why some people tell you that using custom APT or PPA repositories is not a good idea. Sometimes these repositories replace the libraries that come with your system by new versions and that can cause conflicts with other software.

If I misunderstood you and the package manager is simply saying that it does not know a package named libglew 1.5, then maybe your distro comes with a newer version of the package. It's possible that the MH build will work with that newer version, but the deb package could require version 1.5 specifically.
You could try downloading the tarball instead of the deb package.

You can also try the nightly build of MH alpha 8. It has fewer dependencies and is newer, so there's a better chance that it's compatible.


Hi. Thanks for your reply. I downloaded the tbz2 file and I tried this:

bitacovir@bitacovir-Precision-WorkStation-380:~/Downloads/makehuman$ sudo ./makehuman
[sudo] password for bitacovir:
./makehuman: error while loading shared libraries: libGLEW.so.1.5: cannot open shared object file: No such file or directory

trying to install it I did this:
bitacovir@bitacovir-Precision-WorkStation-380:~/Downloads/makehuman$ sudo apt-get install libglew1.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libglew1.5-dev' for regex 'libglew1.5'
Note, selecting 'libglew-dev' instead of 'libglew1.5-dev'
libglew-dev is already the newest version.
The following packages were automatically installed and are no longer required:
libreadline5 linux-headers-3.5.0-17 linux-headers-3.5.0-17-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 69 not upgraded.
bitacovir@bitacovir-Precision-WorkStation-380:~/Downloads/makehuman$
bitacovir
 
Posts: 5
Joined: Thu Oct 03, 2013 8:39 am

Re: problem to install MakeHuman deb package

Postby joepal » Thu Oct 03, 2013 5:22 pm

You shouldn't need to run makehuman with sudo, but that's not the problem.

Can you try to do an "sudo apt-get install build-essential scons" and then run "scons" in the makehuman directory?
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4627
Joined: Wed Jun 04, 2008 11:20 am

Re: problem to install MakeHuman deb package

Postby bitacovir » Thu Oct 03, 2013 10:20 pm

joepal wrote:You shouldn't need to run makehuman with sudo, but that's not the problem.

Can you try to do an "sudo apt-get install build-essential scons" and then run "scons" in the makehuman directory?


Done:

bitacovir@bitacovir-Precision-WorkStation-380:~/Downloads/makehuman$ scons
scons: Reading SConscript files ...
Checking for C library m... (cached) yes
Checking for Py_Initialize() in C library python2.7... (cached) yes
Checking for C header file Python.h... no
The Python2.7 development libraries must be installed
bitacovir@bitacovir-Precision-WorkStation-380:~/Downloads/makehuman$
bitacovir
 
Posts: 5
Joined: Thu Oct 03, 2013 8:39 am

Re: problem to install MakeHuman deb package

Postby duststorm » Thu Oct 03, 2013 11:01 pm

bitacovir wrote:Checking for C header file Python.h... no
The Python2.7 development libraries must be installed

Install python-dev and run scons again.
Then start with ./makehuman
MakeHuman™ developer
User avatar
duststorm
 
Posts: 2569
Joined: Fri Jan 27, 2012 11:57 am
Location: Belgium

Re: problem to install MakeHuman deb package

Postby bitacovir » Thu Oct 03, 2013 11:48 pm

duststorm wrote:
bitacovir wrote:Checking for C header file Python.h... no
The Python2.7 development libraries must be installed

Install python-dev and run scons again.
Then start with ./makehuman


I run scons again:

bitacovir@bitacovir-Precision-WorkStation-380:~/Downloads/makehuman$ scons
scons: Reading SConscript files ...
Checking for C library m... (cached) yes
Checking for Py_Initialize() in C library python2.7... (cached) yes
Checking for C header file Python.h... (cached) yes
Checking for C library X11... (cached) yes
Checking for SDL_Init() in C library SDL... (cached) yes
Checking for C header file SDL.h... no
The SDL development libraries must be installed

what is the name of the package? sdl-dev?
bitacovir
 
Posts: 5
Joined: Thu Oct 03, 2013 8:39 am

Re: problem to install MakeHuman deb package

Postby joepal » Fri Oct 04, 2013 5:00 am

bitacovir wrote:The SDL development libraries must be installed

what is the name of the package? sdl-dev?


You'll probably need libsdl1.2-dev and libsdl-image1.2-dev, but it's possible they have other names on your system. If so try to do "apt-cache search libsdl | grep dev"
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4627
Joined: Wed Jun 04, 2008 11:20 am

Re: problem to install MakeHuman deb package

Postby bitacovir » Fri Oct 04, 2013 12:11 pm

joepal wrote:
bitacovir wrote:The SDL development libraries must be installed

what is the name of the package? sdl-dev?


You'll probably need libsdl1.2-dev and libsdl-image1.2-dev, but it's possible they have other names on your system. If so try to do "apt-cache search libsdl | grep dev"


Now it's working.
I installed libsdl1.2-dev and libsdl-image1.2-dev and then I run scons and ./makehuman
I have the folder of makehuman files in download directory. Can I move it to a new directory or it is preferably keep it in this one?
Before of this I had installed the nightly build of MH alpha 8, but the presentation of the model looks too artificial, like a clay statue and version alpha 7 is more natural and easy to identify the face features.
The machine that I was using is a old PC with LUBUNTU which uses LXDE. I had problems to install Blender, too.

Thanks for the help.

Thanks for
bitacovir
 
Posts: 5
Joined: Thu Oct 03, 2013 8:39 am

Re: problem to install MakeHuman deb package

Postby joepal » Fri Oct 04, 2013 1:15 pm

The makehuman directory should be self-contained, so you can move it anywhere you want.

If you used alpha 8 or svn on the same machine, you might want to delete the ~/makehuman directory which is created when you first run the application, just to make sure there are no incompatible user data.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4627
Joined: Wed Jun 04, 2008 11:20 am

Next

Return to General discussions about makehuman

Who is online

Users browsing this forum: No registered users and 1 guest