Skip to content
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

Failed installing: angelscript libmikmod libpng openal opentri pixman SDL_image SDL_mixer #74

Open
futurepr0n opened this issue Dec 1, 2016 · 5 comments

Comments

Projects
None yet
3 participants
@futurepr0n
Copy link

commented Dec 1, 2016

Hi - during install, I was unable to properly install the following as part of running the toolchain:

Failed installing: angelscript libmikmod libpng openal opentri pixman SDL_image SDL_mixer

It seems like it hasnt prevented me from building any helloworld project, but I did have some other old source that did use these libraries and it did not build. Any chance you could offer me any advisement on how to get these?

@liclac

This comment has been minimized.

Copy link
Contributor

commented Dec 2, 2016

Please post logs. Nobody can help you from just that.

@futurepr0n

This comment has been minimized.

Copy link
Author

commented Dec 2, 2016

output.txt

I am trying to set up for a vagrant box that will stand up a psp dev environment on its own, and I was hoping at a glance the issue would be noticeable or familiar enough someone would have a quick suggestion! The toolchain still builds but does have some failures along the way. I have the full output attached, but im going to try and narrow down some parts and edit this post to highlight some key areas.

I really appreciate the help! Thanks

I kick off the start up by installing the following:

sudo -i
 
  apt-get update
  apt-get install -y g++ build-essential autoconf automake  automake1.9 cmake make doxygen bison flex libncurses5-dev libsdl1.2-dev \
               libreadline-dev libusb-dev texinfo libgmp3-dev libmpfr-dev libelf-dev libmpc-dev libfreetype6-dev zlib1g-dev libtool subversion git tcl unzip

After that it begins installing the toolchain as normal
chmod +x ./toolchain.sh
yes | ./toolchain.sh

but as it progresses some things start to bugger up - I believe its around this area, but again, I provided the full output to help.

==> default: libtool: link: psp-ar cru .libs/libSDL_gfx.a  SDL_gfxPrimitives.o SDL_rotozoom.o SDL_framerate.o SDL_imageFilter.o SDL_gfxBlitFunc.o
==> default: libtool: link: psp-ranlib .libs/libSDL_gfx.a
==> default: libtool: link: ( cd ".libs" && rm -f "libSDL_gfx.la" && ln -s "../libSDL_gfx.la" "libSDL_gfx.la" )
==> default: make[1]: Entering directory `/home/vagrant/temp/psptoolchain/build/psplibraries/build/SDL_gfx-2.0.25'
==> default: test -z "/usr/local/pspdev/psp/lib" || /bin/mkdir -p "/usr/local/pspdev/psp/lib"
==> default:  /bin/bash ./libtool   --mode=install /usr/bin/install -c   libSDL_gfx.la '/usr/local/pspdev/psp/lib'
==> default: libtool: install: /usr/bin/install -c .libs/libSDL_gfx.lai /usr/local/pspdev/psp/lib/libSDL_gfx.la
==> default: libtool: install: /usr/bin/install -c .libs/libSDL_gfx.a /usr/local/pspdev/psp/lib/libSDL_gfx.a
==> default: libtool: install: chmod 644 /usr/local/pspdev/psp/lib/libSDL_gfx.a
==> default: libtool: install: psp-ranlib /usr/local/pspdev/psp/lib/libSDL_gfx.a
==> default: test -z "/usr/local/pspdev/psp/include/SDL" || /bin/mkdir -p "/usr/local/pspdev/psp/include/SDL"
==> default:  /usr/bin/install -c -m 644 SDL_gfxPrimitives.h SDL_gfxPrimitives_font.h SDL_rotozoom.h SDL_framerate.h SDL_imageFilter.h SDL_gfxBlitFunc.h '/usr/local/pspdev/psp/include/SDL'
==> default: test -z "/usr/local/pspdev/psp/lib/pkgconfig" || /bin/mkdir -p "/usr/local/pspdev/psp/lib/pkgconfig"
==> default:  /usr/bin/install -c -m 644 SDL_gfx.pc '/usr/local/pspdev/psp/lib/pkgconfig'
==> default: make[1]: Leaving directory `/home/vagrant/temp/psptoolchain/build/psplibraries/build/SDL_gfx-2.0.25'
==> default: ls: 
==> default: cannot access /usr/local/pspdev/psp/include/SDL/SDL_image.h
==> default: : No such file or directory
==> default: ls: 
==> default: cannot access /usr/local/pspdev/psp/lib/libSDL_image.a
==> default: : No such file or directory
==> default: ls: 
==> default: cannot access /usr/local/pspdev/psp/lib/libpng.a
==> default: : No such file or directory
==> default: ls: 
==> default: cannot access /usr/local/pspdev/psp/include/png.h
==> default: : No such file or directory
==> default: ls: 
==> default: cannot access /usr/local/pspdev/psp/include/pngconf.h
==> default: : No such file or directory
==> default: ls: cannot access /usr/local/pspdev/psp/include/pnglibconf.h: No such file or directory
==> default: sh: 1: 
==> default: source: not found
==> default: sh: 1: 
==> default: source: not found
==> default: Couldn't install dependency libpng, aborting.
==> default: Failed installing SDL_image!
==> default: ls: 
==> default: cannot access /usr/local/pspdev/psp/include/SDL/SDL_mixer.h
==> default: : No such file or directory
==> default: ls: 
==> default: cannot access /usr/local/pspdev/psp/lib/libSDL_mixer.a
==> default: : No such file or directory
==> default: /home/vagrant/temp/psptoolchain/build/psplibraries/depends/check-libmikmod.sh: 2: /home/vagrant/temp/psptoolchain/build/psplibraries/depends/check-libmikmod.sh: 
==> default: /usr/local/pspdev/psp/bin/libmikmod-config: not found
==> default: sh: 1: 
==> default: source: not found
==> default: sh: 1: 
==> default: source: not found
==> default: Couldn't install dependency libmikmod, aborting.
==> default: Failed installing SDL_mixer!
==> default: ls: 
==> default: cannot access /usr/local/pspdev/psp/include/SDL/SDL_ttf.h
==> default: : No such file or directory
==> default: ls: 
==> default: cannot access /usr/local/pspdev/psp/lib/libSDL_ttf.a
==> default: : No such file or directory
==> default: --2016-12-02 17:14:41--  http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.tar.gz
@belldandu

This comment has been minimized.

Copy link

commented Apr 9, 2017

Well the reason why most of those packages fail except opentri is because libtool hates dash being /bin/sh

@futurepr0n

This comment has been minimized.

Copy link
Author

commented Apr 21, 2017

Sorry for my newbie-ness, but what can I do in lieu of that? dash being /bin/sh?? I don't understand entirely, any help is much appreciated

@liclac

This comment has been minimized.

Copy link
Contributor

commented Apr 23, 2017

/bin/sh is actually a symlink, usually to a shell called /bin/dash, which loads very, very fast, but also doesn't support all the features of a full-blown (but slower) shell like /bin/bash.

Normally, it's not a problem, but in this specific case, you'll have to change sh to be bash instead: https://wiki.debian.org/DashAsBinSh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.