I downloaded partclone-utils-0.1.3.tar.gz and followed install instructions using Ubuntu 12.04 LTS (32 bit). During MAKE I got some compilation errors:
...
imagemount.c: In Funktion »nbd_service_requests«:
imagemount.c:398:21: Fehler: »uint64_t« nicht deklariert (erste Benutzung in dieser Funktion)
imagemount.c:398:21: Anmerkung: jeder nicht deklarierte Bezeichner wird nur einmal für jede Funktion, in der er vorkommt, gemeldet
imagemount.c:398:21: Fehler: expected »)« before »ntohl«
make[2]: *** [imagemount.o] Fehler 1
...
HELP – what can I do to get imagemount?
Kind regards,
Wolf
Germany, Cologne / Bonn
PS: I'm new to linux / Sourceforge / this forum / ... and hope this is the right place searching for help ...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You need to install libcap (apt-get install libcap).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2012-12-25
Thank you. Sorry for bothering you but apt-get yields that this package can’t be found.
Synaptic reports a couple of similar named packages with some being installed by default and some not (see attachment).
I don’t like to to take a whack at it by trial and error ... please give me a hint which package should be installed or if there is a PPA where libcap can be found.
Have a merry christmas ...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Something is messed up with your loader cache or configuration. I'd try:
sudo ldconfig
to regenerate the cache and then see if it works.
If that doesn't work, then I'd edit the Makefile and replace -lcap with /lib/i386-linux-gnu/libcap.so.2 and then finish the build.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2012-12-28
'sudo ldconfig' made no difference but editing the makefile did the job. Thanks for hint!
Now I can call imagemount but I didnt't test it up to now due to lack of time.
"Something is messed up ..."
I don't think so BECAUSE exactly the same problems arise when I tried to install partclone-utils today on my second system (12.10 fresh installed). It seems to me most improbable that two independent systems show up the same fault.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey - something was messed up with the source. src/Makefile is asking for -lcap when configure didn't find it.
If you have a chance, I've uploaded a new version 0.1.5 which incorporates these make changes. It doesn't change any functionality of the package.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2012-12-29
I confirm that version 0.1.5 now works properly without the problem discussed so far.
Just a question:
The partclone-utils website offers an out-of-date version of a DEB-package (0.1-1). Why hasn't there been a DEB-package of current version, e. g. formerly 0.1.3? Then one would have had no trouble with problems discussed so far.
Thanks for your patience,
have a happy new year ...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I downloaded partclone-utils-0.1.3.tar.gz and followed install instructions using Ubuntu 12.04 LTS (32 bit). During MAKE I got some compilation errors:
...
imagemount.c: In Funktion »nbd_service_requests«:
imagemount.c:398:21: Fehler: »uint64_t« nicht deklariert (erste Benutzung in dieser Funktion)
imagemount.c:398:21: Anmerkung: jeder nicht deklarierte Bezeichner wird nur einmal für jede Funktion, in der er vorkommt, gemeldet
imagemount.c:398:21: Fehler: expected »)« before »ntohl«
make[2]: *** [imagemount.o] Fehler 1
...
HELP – what can I do to get imagemount?
Kind regards,
Wolf
Germany, Cologne / Bonn
PS: I'm new to linux / Sourceforge / this forum / ... and hope this is the right place searching for help ...
I uploaded a new version with a fix for this. This was already in git, but I hadn't made a new tarball.
Thank you.
BUT it doesn't work due to other problems:
- a couple of warnings regarding type mismatches
- finally: "cannot find -lcap"
system today updated incl. kernel 3.2.0.-34
For detailed output of MAKE see attachment.
wolf
You need to install libcap (apt-get install libcap).
Thank you. Sorry for bothering you but apt-get yields that this package can’t be found.
Synaptic reports a couple of similar named packages with some being installed by default and some not (see attachment).
I don’t like to to take a whack at it by trial and error ... please give me a hint which package should be installed or if there is a PPA where libcap can be found.
Have a merry christmas ...
Try apt-get install libcap2
libcap2 is installed by default, see attachment 'libcap synaptic.jpg'
(I hope you get the attachment this time ... I notice that attachment of previous post ('libcap synaptic.png') is missing obviously due to a problem)
So, apt-get install libcap2 says that it's already installed?
What do you get when you enter the command
There should be something in /lib, like /lib/libcap.so.2 and /lib/libcap.so.2.22
If those files are there, then what do you get when you enter the command
You should see something like:
The result is:
wolf@PC-Papa:~$ dpkg --listfiles libcap2
/.
/lib
/lib/i386-linux-gnu
/lib/i386-linux-gnu/libcap.so.2.22
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libcap2
/usr/share/doc/libcap2/copyright
/usr/share/doc/libcap2/changelog.Debian.gz
/lib/i386-linux-gnu/libcap.so.2
wolf@PC-Papa:~$ ldconfig -p | grep libcap
libcap.so.2 (libc6) => /lib/i386-linux-gnu/libcap.so.2
libcap-ng.so.0 (libc6) => /usr/lib/libcap-ng.so.0
wolf@PC-Papa:~$
Something is messed up with your loader cache or configuration. I'd try:
to regenerate the cache and then see if it works.
If that doesn't work, then I'd edit the Makefile and replace -lcap with /lib/i386-linux-gnu/libcap.so.2 and then finish the build.
'sudo ldconfig' made no difference but editing the makefile did the job. Thanks for hint!
Now I can call imagemount but I didnt't test it up to now due to lack of time.
"Something is messed up ..."
I don't think so BECAUSE exactly the same problems arise when I tried to install partclone-utils today on my second system (12.10 fresh installed). It seems to me most improbable that two independent systems show up the same fault.
Hey - something was messed up with the source. src/Makefile is asking for -lcap when configure didn't find it.
If you have a chance, I've uploaded a new version 0.1.5 which incorporates these make changes. It doesn't change any functionality of the package.
I confirm that version 0.1.5 now works properly without the problem discussed so far.
Just a question:
The partclone-utils website offers an out-of-date version of a DEB-package (0.1-1). Why hasn't there been a DEB-package of current version, e. g. formerly 0.1.3? Then one would have had no trouble with problems discussed so far.
Thanks for your patience,
have a happy new year ...
On the packaging side: the only thing that prevents me from making packages is laziness.
Thanks for helping me work out the build issue.
Happy New Year to you too.