where should i put packages- after compile and make?
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
where should i put packages- after compile and make?
I'm manually installing some packages for remote photo capture with a powershot A75 on the current distro linux mint 12 lisa (64-bit)
those packages are not available trough synaptic or apt.
i know that capture-1.0.4-cvs-20071123 depends on libptp2-1.1.10 that depends on libusb-1.0.8
and that i have to install the above from right to left.
i know how to extract them and compile them in terminal ,but not where to put them
I compiled the first in a folder on desktop- then tried to compile the second in another folder but it does not find the first.
even tried adding files from the first package in the second folder ... does not work
what i ask for is surely basic knowledge and i sure i should extract my packages in the right place before compiling them, but I lack that info.
should i try gdebi package installer (trying that right now)
those packages are not available trough synaptic or apt.
i know that capture-1.0.4-cvs-20071123 depends on libptp2-1.1.10 that depends on libusb-1.0.8
and that i have to install the above from right to left.
i know how to extract them and compile them in terminal ,but not where to put them
I compiled the first in a folder on desktop- then tried to compile the second in another folder but it does not find the first.
even tried adding files from the first package in the second folder ... does not work
what i ask for is surely basic knowledge and i sure i should extract my packages in the right place before compiling them, but I lack that info.
should i try gdebi package installer (trying that right now)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: where should i put packages- after compile and make?
A short answer is:
The most common way to compile a program is
But there are other methods around.
If you look in the README or INSTALL file you'll find additional information.
Code: Select all
sudo make install
Code: Select all
./configure
make
sudo make install
If you look in the README or INSTALL file you'll find additional information.
Re: where should i put packages- after compile and make?
I followed those steps and it did not work- the second package still does not find the first.
Re: where should i put packages- after compile and make?
Well. I looked at it and I think I would need a full day to make anything out of it... Can't do that for you. Sorry.
Re: where should i put packages- after compile and make?
care to tell us what errors/messages "make install" gives you (note - while ./configure and make can usually be done as a normal user, make install requires sudo)
Kernel Linux Tex 5.12.14-zen1-1-zen, XFCE
Arch
Dual GTX1070 8Gb
AMD Ryzen 1800X
32Gb RAM
Arch
Dual GTX1070 8Gb
AMD Ryzen 1800X
32Gb RAM
Re: where should i put packages- after compile and make?
There should make a file called "install" or "readme" somewhere in the folder you downloaded. Read that and it should have instructions.
Re: where should i put packages- after compile and make?
/usr/src has always been my practice. I build/compile from there as root.
* DOCUMENTATION... is
less README or
less INSTALL.txt or similar
Code: Select all
cd /usr/src
wget domain.com/download.tar.gz
tar zxf download.tar.gz
cd download
less DOCUMENTATION*
./configure
make
make install
less README or
less INSTALL.txt or similar
Re: where should i put packages- after compile and make?
usr/src was the info i was looking for but i still get this error
./configure: line 22453: test: : integer expression expected
configure: error:
*** You need the 0 line of libusb which is at least 0.1.8.
*** Higher versions might not be compatible! Download and istall
*** libusb version 0.X.X from http://sourceforge.net/projects/libusb/ or
*** use --disable-ptpcam option to build without ptpcam tool.
used the following
CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 --localstatedir=/var/lib && make
tried the following too
CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --sysconfdir=/src --libdir=/usr/lib64 --localstatedir=/var/lib && make && make install
is there something i can do for that- except following every instruction i could find (which i did before asking ).
if ptpcam is broken then i just wont be able to take photos directly from computer with camera.
./configure: line 22453: test: : integer expression expected
configure: error:
*** You need the 0 line of libusb which is at least 0.1.8.
*** Higher versions might not be compatible! Download and istall
*** libusb version 0.X.X from http://sourceforge.net/projects/libusb/ or
*** use --disable-ptpcam option to build without ptpcam tool.
used the following
CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 --localstatedir=/var/lib && make
tried the following too
CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --sysconfdir=/src --libdir=/usr/lib64 --localstatedir=/var/lib && make && make install
is there something i can do for that- except following every instruction i could find (which i did before asking ).
if ptpcam is broken then i just wont be able to take photos directly from computer with camera.
Re: where should i put packages- after compile and make?
I think this means you installed the latest version of libusb. You need an earlier version that is 0.1.8 and more but below 1.0./configure: line 22453: test: : integer expression expected
configure: error:
*** You need the 0 line of libusb which is at least 0.1.8.
*** Higher versions might not be compatible! Download and istall
*** libusb version 0.X.X from http://sourceforge.net/projects/libusb/ or
*** use --disable-ptpcam option to build without ptpcam tool.
If you look in synaptic you'll see there are different versions of libusb. The one/ones you need are probably libusb-0.1-4 and/or libusb-dev
Re: where should i put packages- after compile and make?
+1dagon wrote:I think this means you installed the latest version of libusb. You need an earlier version that is 0.1.8 and more but below 1.0./configure: line 22453: test: : integer expression expected
configure: error:
*** You need the 0 line of libusb which is at least 0.1.8.
*** Higher versions might not be compatible! Download and istall
*** libusb version 0.X.X from http://sourceforge.net/projects/libusb/ or
*** use --disable-ptpcam option to build without ptpcam tool.
If you look in synaptic you'll see there are different versions of libusb. The one/ones you need are probably libusb-0.1-4 and/or libusb-dev
Re: where should i put packages- after compile and make?
I looked in synaptic with the normal search method and found absolutely nothing.
thanks for those advices guys, they may be useful in the future.
right now this program is not working, and that just means i will have to take photos then upload them to my pc, like before.
thanks for those advices guys, they may be useful in the future.
right now this program is not working, and that just means i will have to take photos then upload them to my pc, like before.
Re: where should i put packages- after compile and make?
And if I type libusb in synaptic I get more than 30 hits. If i search for libusb-0.1 I get only one hit and that is libusb-0.1-4JPC22 wrote:I looked in synaptic with the normal search method and found absolutely nothing.
The 0.1-4 package mentioned above is 0.1.12 and if you have a second go at it this is the one I'd install first.configure: error:
*** You need the 0 line of libusb which is at least 0.1.8.
Re: where should i put packages- after compile and make?
i use french canadian language packs wich happens to be obsolete sometimes and since their latest update i can now find in synaptic that i aldready have libusb installed
and that digikam needs the latest version of it.
and that digikam needs the latest version of it.