-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libpng12-dev has no installation candidate and ./install.sh fails without it #23
Comments
Sorry if "me too" comments are un-cool, but I too have this issue under "Ubuntu Studio", which is 16.10-based. |
"Me too"s are fine :-) I'm still running 16.04 personally, and will probably run it until 18.04 comes out. What happens if you type 'sudo apt-get install libpng', and then press the 'tab' key? does it come up with some newer version of libpng? |
I did not know about the tab key feature! Here's what I get
rob@rob-ubuntu-studio:~/Documents$ sudo apt-get install libpng
libpng16-16 libpng++-dev libpnglite-dev
libpng-sixlegs-java-doc
libpng-dev libpnglite0 libpng-sixlegs-java
libpng-tools
rob@rob-ubuntu-studio:~/Documents$ sudo apt-get install libpng
Are you suggesting I try libpng16-16? Or perhaps libpng-dev ?
Thanks for any help!
</rob>
…On Thu, Apr 6, 2017 at 2:01 AM, Hugh Perkins ***@***.***> wrote:
"Me too"s are fine :-) I'm still running 16.04 personally, and will
probably run it until 18.04 comes out. What happens if you type 'sudo
apt-get install libpng', and then press the 'tab' key? does it come up with
some newer version of libpng?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFcD5gSrWkQiHplEaOA4-hfWgJvwumQlks5rtKnigaJpZM4MbD1O>
.
|
Yeah, I would try either or both of those. |
With either of those, I get
libpng-dev is already the newest version (1.6.25-1).
Should I remove libpng first? (Sorry if that should have been obvious...)
</rob>
…On Thu, Apr 6, 2017 at 3:31 PM, Hugh Perkins ***@***.***> wrote:
Yeah, I would try either or both of those.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFcD5kHECVMbZLuwf1fQWxqkmt_u_Rtrks5rtWfSgaJpZM4MbD1O>
.
|
Ah, I didnt read the errors very carefully. The errors are unrelated to libpng. For the gcc errors, it means you have an older version of CUDA toolkit. You need at least 8.0 patch 1 to build using gcc 5. But cltorch itself doesnt need CUDA toolkit at all: this is because it's trying to build cuda torch, since it detected you have the cuda toolkit intsllaed. You can probably try removing cuda toolkit from your PATH, and/or renaming /usr/local/cuda to eg /usr/local/cuda_hidden. Or modify install.sh to not install cuda torch. Or upgrade your cuda toolkit to at least 8.0 patch 1. (I guess modifying install.sh to not install cuda torch might be the easiest? lines 142, 143,119,120,121) |
I appreciate your help, Hugh!
I think I misled you a little - my problem is not *exactly* the same as the
OP's - only the final error, "E: Package 'libpng12-dev' has no installation
candidate" is the same.
Here is the full output from my run of "install-deps"; this example is not
the first time I've run the command, so you don't see it installing much of
anything until it fails.
rob@rob-ubuntu-studio:~/torch/distro-cl-distro-cl$ bash install-deps
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release
Hit:3 http://us.archive.ubuntu.com/ubuntu yakkety InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu yakkety-updates InRelease [102
kB]
Get:6 http://security.ubuntu.com/ubuntu yakkety-security InRelease [102 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu yakkety-backports InRelease [102
kB]
Get:8 http://us.archive.ubuntu.com/ubuntu yakkety-updates/main amd64
Packages [242 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu yakkety-updates/main i386
Packages [237 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu yakkety-updates/main amd64
DEP-11 Metadata [146 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu yakkety-updates/main DEP-11
64x64 Icons [83.8 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu yakkety-updates/universe amd64
Packages [149 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu yakkety-updates/universe i386
Packages [147 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu yakkety-updates/universe amd64
DEP-11 Metadata [119 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu yakkety-updates/universe DEP-11
64x64 Icons [144 kB]
Get:16 http://us.archive.ubuntu.com/ubuntu yakkety-backports/main amd64
DEP-11 Metadata [3,328 B]
Get:17 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 DEP-11
Metadata [10.9 kB]
Get:18 http://security.ubuntu.com/ubuntu yakkety-security/main DEP-11 64x64
Icons [15.7 kB]
Get:19 http://security.ubuntu.com/ubuntu yakkety-security/universe amd64
DEP-11 Metadata [18.7 kB]
Get:20 http://security.ubuntu.com/ubuntu yakkety-security/universe DEP-11
64x64 Icons [18.4 kB]
Fetched 1,641 kB in 1s (1,339 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-software-properties is already the newest version (0.96.24.7).
The following packages were automatically installed and are no longer
required:
procmail sendmail sensible-mda
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
==> Found Ubuntu version 16.xx
Reading package lists... Done
Building dependency tree
Reading state information... Done
libfftw3-dev is already the newest version (3.3.4-2ubuntu1).
software-properties-common is already the newest version (0.96.24.7).
libgraphicsmagick1-dev is already the newest version (1.3.25-1).
libsox-dev is already the newest version (14.4.1-5build1).
libsox-fmt-all is already the newest version (14.4.1-5build1).
nodejs is already the newest version (4.2.6~dfsg-1ubuntu5).
npm is already the newest version (3.5.2-0ubuntu4).
sox is already the newest version (14.4.1-5build1).
The following packages were automatically installed and are no longer
required:
procmail sendmail sensible-mda
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release
Hit:4 http://security.ubuntu.com/ubuntu yakkety-security InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu yakkety InRelease
Get:6 http://us.archive.ubuntu.com/ubuntu yakkety-updates InRelease [102 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu yakkety-backports InRelease [102
kB]
Get:8 http://us.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 DEP-11
Metadata [146 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu yakkety-updates/main DEP-11 64x64
Icons [82.2 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu yakkety-updates/universe amd64
DEP-11 Metadata [119 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu yakkety-updates/universe DEP-11
64x64 Icons [153 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu yakkety-backports/main amd64
DEP-11 Metadata [3,328 B]
Fetched 708 kB in 1s (545 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libncurses5-dev' instead of 'ncurses-dev'
Package libpng12-dev is not available, but is referred to by another
package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libpng12-dev' has no installation candidate
rob@rob-ubuntu-studio:~/torch/distro-cl-distro-cl$
Again, thanks for any suggestions!
</rob>
…On Fri, Apr 7, 2017 at 1:44 AM, Hugh Perkins ***@***.***> wrote:
Ah, I didnt read the errors very carefully. The errors are unrelated to
libpng.
For the gcc errors, it means you have an older version of CUDA toolkit.
You need at least 8.0 patch 1 to build using gcc 5. But cltorch itself
doesnt need CUDA toolkit at all: this is because it's trying to build cuda
torch, since it detected you have the cuda toolkit intsllaed. You can
probably try removing cuda toolkit from your PATH, and/or renaming
/usr/local/cuda to eg /usr/local/cuda_hidden. Or modify install.sh to not
install cuda torch. Or upgrade your cuda toolkit to at least 8.0 patch 1.
(I guess modifying install.sh to not install cuda torch might be the
easiest? lines 142, 143,119,120,121)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFcD5thMiF-8Nih1Wx1t-HSP5TI7Im9iks5rtfeKgaJpZM4MbD1O>
.
|
ah yeah, please try replacing libpng12-dev with eg libpng-dev ,in the script. |
Excellent, thanks, will do. That's normally above my pay grade. ;-)
I'm about to go out of town for a week, so I'll try this then - don't think
I've fallen off the face of the earth. (Not that I think it'd keep you up
nights.)
On Sat, Apr 8, 2017 at 05:16 Hugh Perkins ***@***.***> wrote:
ah yeah, please try replacing libpng12-dev with eg libpng-dev ,in the
script.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFcD5l4akkCeQE-zGo607gcZ9pgzKqb-ks5rt3qtgaJpZM4MbD1O>
.
--
</rob>
|
this may be resolved with the merge of #45 |
Note that
libpng16-16 libpng-dev libpng-tools
are already installed.The text was updated successfully, but these errors were encountered: