Forum: Official Open PS2 Loader Forum - Discussion and information on the Official Open PS2 Loader.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: Help install libjpeg and libpng ubuntu 9.10 livecd
  

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
  1. #1 Help install libjpeg and libpng ubuntu 9.10 livecd 
    ronysales is offline Member
    Join Date
    Apr 2010
    Posts
    36
    Downloads
    7
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Please I need help to install libpng and libjpeg.
    I already installed successfully on a live cd ubuntu 9.10.
    Using the second post of the OPL compile guides

    Por favor preciso de ajuda para instalar libpng e libjpeg.
    eu ja instalei o com sucesso o em um live cd ubuntu 9.10.
    Usando o segundo post do OPL compile guides
    Reply With Quote  

  2. #2  
    izdubar's Avatar
    izdubar is offline Babylon User
    Join Date
    Nov 2009
    Posts
    869
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    2
    You need to retrieve and compile libjpg and libpng (only to do once):

    Code:
    > cd $PS2DEV
    > svn co svn://svn.ps2dev.org/ps2/trunk/ps2sdk-ports/libjpeg
    > cd libjpeg
    > make
    > make install
    
    > cd $PS2DEV
    > svn co svn://svn.ps2dev.org/ps2/trunk/ps2sdk-ports/libpng
    > cd libpng
    > make
    > make install
    That's all, now you can compile both official and experimental branchs.
    Reply With Quote  

  3. #3  
    Pacolin's Avatar
    Pacolin is offline psx-scene lover
    Join Date
    Oct 2009
    Location
    Sofia, Bulgaria
    Posts
    100
    Downloads
    7
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Am I the only one having problems with the permissions on the Ubuntu (mine is 10.04 long term support - beta2)? I can't install the libs as stated by izdubar - even if I try 'sudo make' ot 'sudo -s' than 'make' I can't make them work

    Or maybe the whole problem is that when I've compiled the ps2sdk - somewhere i've used the root permissions and now I can't access those dirs/files when I'm with the user made when I installed my distrib?
    Reply With Quote  

  4. #4  
    izdubar's Avatar
    izdubar is offline Babylon User
    Join Date
    Nov 2009
    Posts
    869
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    2
    Ahhhhh ..... Ubuntu .... (ok I will not start a linux distribution flame war )

    According to Jimmi compile guide:

    http://psx-scene.com/forums/showpost...24&postcount=2 ([Linux] OPL compile guides)

    Look step 3 and 4.

    You probably need to do that instead on ubuntu:

    Code:
    $ cd $PS2DEV
    $ svn co svn://svn.ps2dev.org/ps2/trunk/ps2sdk-ports/libjpeg
    $ cd libjpeg
    $ make
    $ sudo -s 		('sudo make install' won't work)
    # export PS2SDK=/usr/local/ps2dev/ps2sdk
    # make install
    # exit
    Code:
    $ cd $PS2DEV
    $ svn co svn://svn.ps2dev.org/ps2/trunk/ps2sdk-ports/libpng
    $ cd libpng
    $ make
    $ sudo -s 		('sudo make install' won't work)
    # export PS2SDK=/usr/local/ps2dev/ps2sdk
    # make install
    # exit
    Reply With Quote  

  5. #5  
    loki7777 is online now Developer
    Join Date
    Oct 2009
    Location
    Polska
    Posts
    273
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    13
    But why to use beta2 - which isnt stable at all? Why not to stick to 9.10?
    Reply With Quote  

  6. #6  
    izdubar's Avatar
    izdubar is offline Babylon User
    Join Date
    Nov 2009
    Posts
    869
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    2
    Sources are public ... we won't prevent anyone from doing what they want with them ...

    Volca has already warned people about the experimental status, and anyway due to some choices we temporary made to ease the dev, the exp. gui will not fit to most people.
    Reply With Quote  

  7. #7  
    loki7777 is online now Developer
    Join Date
    Oct 2009
    Location
    Polska
    Posts
    273
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    13
    I mean ubuntu betasNot OPL Volcas rev
    Reply With Quote  

  8. #8  
    Pacolin's Avatar
    Pacolin is offline psx-scene lover
    Join Date
    Oct 2009
    Location
    Sofia, Bulgaria
    Posts
    100
    Downloads
    7
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    @izdubar thanks, I'll try it once I'm back at home I didn't tried that (the 'export' part, which writes the paths for the currently logged on user, right?).

    Can you help me a little bit with the ps2-packer too? I'm trying to build it on the same *user-friendly* Ubuntu but the problem is that i'm using the amd64 distribution... I've tried the patch they've given in the guides to force using the libs32 but it doesn't work for me

    @loki maybe you're right about the stable release, but I really wanted to see this ub10 Also I'm not using it for development or what so ever so it's pretty stable in my opinion :P
    Reply With Quote  

  9. #9  
    izdubar's Avatar
    izdubar is offline Babylon User
    Join Date
    Nov 2009
    Posts
    869
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    2
    You should really use the scripts we made, all is automated there:

    http://psx-scene.com/forums/showpost...26&postcount=3 ([Linux] OPL compile guides)

    (but missing the libpng and libjpg parts as these one are not needed for the official branch, but now you know the steps to install these manually)

    Quick manual steps to build ps2-packer on amd64. Probably the path are not correct in some commands, or you will require root rights, ... this is just the "logic":

    Code:
    > apt-get install zlib1g zlib1g-dev libucl1 libucl-dev
    > svn co --force svn://svn.ps2dev.org/ps2/trunk/ps2-packer
    > patch -p0 < ps2-packer_x64.patch 
    > cd ps2-packer
    > make clean
    > make
    > make install
    ps2-packer_x64.patch must be taken from the ps2-sdk-scripts.tar.gz, in the subfolder "debian"
    Reply With Quote  

  10. #10  
    Pacolin's Avatar
    Pacolin is offline psx-scene lover
    Join Date
    Oct 2009
    Location
    Sofia, Bulgaria
    Posts
    100
    Downloads
    7
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Thanks again for the help! I've decided to start building the enviroment once again from scratch. I'm going to use the premade scripts (which I've downloaded at the begining but I can't remember if there were some issues with the rights) and the patch (which I also have).

    Two last questions - am I going to have issues with user rights if I start from scratch and use 'sudo -s' and than run the scripts? I'm pretty sure that I'm going to have those problems *if* everything is done properlly with root rights (sudo -s if possible of course), so can you please tell me how to chmod the /usr/local/ps2dev to have r/w permissions for my local user? I'm going to source the paths before that
    Reply With Quote  

Page 1 of 2 1 2 LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •