Welcome, Guest. Please login or register.

Author Topic: Installing older versions of things in Linux  (Read 8877 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: Installing older versions of things in Linux
« Reply #14 from previous page: February 20, 2009, 07:29:46 PM »
Well, it turns out the errors regarding modules.dep were related to the problems with vfat and networking support. Peter Czanik suggested in this thread that I make a new boot image using mkvmlinuz. I did that and it's all working now :banana:

I haven't installed VLC yet... I daren't try until tomorrow :lol:
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: Installing older versions of things in Linux
« Reply #15 on: February 20, 2009, 10:38:37 PM »
Well, I installed VLC and have the same problem in Ubuntu as I had in Debian :lol:
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: Installing older versions of things in Linux
« Reply #16 on: February 21, 2009, 07:17:31 AM »
Actually I haven't tried compiling it yet. I just installed it with apt, and hoped that the version in the Ubuntu repository would work since Ubuntu seems to be a more polished distro. Sadly, exactly the same problem.

I'll try installing gcc and compiling VLC later on and let you know how I get on.
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: Installing older versions of things in Linux
« Reply #17 on: February 24, 2009, 08:41:57 PM »
Ok, under Ubuntu 8.04 libc-dev installed without any problems. VLC is now configuring. Fingers crossed!
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: Installing older versions of things in Linux
« Reply #18 on: February 24, 2009, 09:09:54 PM »
Ugh, it's whinging about a missing header for ffmpeg now. Installing ffmpeg doesn't help, and there's no such package as ffmpeg-dev. I give up!
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: Installing older versions of things in Linux
« Reply #19 on: March 28, 2009, 04:13:12 PM »
Well I decided to get my arse in gear and write my own slideshow app to precisely meet my needs. I'm using SDL, and have got the app to the point where it can scan a directory, randomly select an image, scale it to the correct resolution, centre it and display it, then start again.

I'm having a problem where after a while the app quits with either "Segmentation fault" or "Killed". I changed the app to display the images always in the same order and got it to log to the console which files it has displayed. Each time I ran it, it always died on the same file. I then deleted five images which were displayed before the one where it died, and the next time it got five images further on. So it seems to be that after it has displayed a certain number of files it can't carry on.

I'm guessing therefore that this is a memory problem. My main loop basically loads the image to an SDL_Surface, uses SDL_gfx's rotozoomSurface() to scale the image, clears the screen, applies the surface to the screen, flips, then waits a few seconds before looping. Do I need to free the surface before looping?
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: Installing older versions of things in Linux
« Reply #20 on: March 28, 2009, 04:43:49 PM »
Ok, I added SDL_FreeSurface(background) to the top of the loop just before it loads the next image and it seems to be fixed now. It has continued way past the point at which it died before, so hopefully it's ok now :-D
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: Installing older versions of things in Linux
« Reply #21 on: March 28, 2009, 06:55:30 PM »
Looks like I spoke too soon - it just segfaulted again :-x
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: Installing older versions of things in Linux
« Reply #22 on: March 29, 2009, 06:20:46 PM »
I tried to set up SDL in Xcode once and it was a disaster. Anyway, too late: I fixed it :-)
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10