Installing Allegro5.2 on Mageia 7

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Installing Allegro5.2 on Mageia 7

Postby hardrock » Dec 15th, '19, 22:36

Hi all:
Its me again with another problem. I installed opengl yesterday and got it working. I had some time
today and decided to try to install Allegro again. I can tell you it did not go well. Maybe someone can
help me out on this.

This is the package I downloaded from pkgs.org for Mageia 7: lib64allegro5.2-5.2.4.0-3.mga7.x86_64.rpm
I first installed it with yum. It looked like it installed. In searching /usr/lib/x86_64-linux-gnu directory I found
nothing. I tried to install again and it said it was already installed. Oh boy, here we go again. Mageia is wearing
me down! So I tried to use urpmi with the correct switches to re-install. It showed it was installing. All went well.
Upon searching all the possible places it could be, I found nothing. I DON"T THINK MAGEIA LIKES ME AT ALL!

One more time I need help. If anyone knows how to stop Mageia from writing files to the .cache directory I
will be all set. Thanks guys!!!

I just ran the yum reinstall command and this is what it reported:

Code: Select all
[root@localhost Downloads]# yum reinstall lib64allegro5.2-5.2.4.0-3.mga7.x86_64.rpm
Last metadata expiration check: 1:30:10 ago on Sun 15 Dec 2019 02:53:56 PM EST.
Dependencies resolved.
======================================================================================================
 Package                    Architecture      Version                   Repository               Size
======================================================================================================
Reinstalling:
 lib64allegro5.2            x86_64            5.2.4.0-3.mga7            @commandline            317 k

Transaction Summary
======================================================================================================

Total size: 317 k
Installed size: 1.1 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                              1/1
  Reinstalling     : lib64allegro5.2-5.2.4.0-3.mga7.x86_64                                        1/2
  Cleanup          : lib64allegro5.2-5.2.4.0-3.mga7.x86_64                                        2/2
  Verifying        : lib64allegro5.2-5.2.4.0-3.mga7.x86_64                                        1/2
  Verifying        : lib64allegro5.2-5.2.4.0-3.mga7.x86_64                                        2/2

Reinstalled:
  lib64allegro5.2-5.2.4.0-3.mga7.x86_64                                                               

Complete!


Two files did finally show up:

liballegro.so.5.2 and liballegro.so.5.2.4

No header files or extensions
Last edited by doktor5000 on Dec 16th, '19, 09:45, edited 1 time in total.
Reason: added code tags
hardrock
 
Posts: 12
Joined: Nov 9th, '19, 17:06

Re: Installing Allegro5.2 on Mageia 7

Postby martinw » Dec 15th, '19, 23:58

Why not use the Mageia tools? To find out where the files will be installed:
Code: Select all
% urpmq -l lib64allegro5.2
/etc/allegro5rc
/usr/lib/.build-id
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/35b50a86d5799bf3b8848d1783c56fc01d537f
/usr/lib64/liballegro.so.5.2
/usr/lib64/liballegro.so.5.2.4
/usr/share/doc/lib64allegro5.2
/usr/share/doc/lib64allegro5.2/CHANGES-5.0.txt
/usr/share/doc/lib64allegro5.2/CONTRIBUTORS.txt
/usr/share/doc/lib64allegro5.2/LICENSE.txt
/usr/share/doc/lib64allegro5.2/README.txt

As a general rule, if you want header files, you need to install the corresponding -devel package, which in this case would be lib64allegro-devel.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Installing Allegro5.2 on Mageia 7

Postby hardrock » Dec 16th, '19, 01:20

Hi martinw:

I installed the devel file for allegro. It said it installed, but I got NOTHING.

I did a search for allegro.h and it was not found. No /include/allegro5 directory. No header files.
I did a search for liballegro_image.so.5.2 and nothing found. No extensions.
I guess it's not my day!
hardrock
 
Posts: 12
Joined: Nov 9th, '19, 17:06

Re: Installing Allegro5.2 on Mageia 7

Postby doktor5000 » Dec 16th, '19, 09:52

You don't mention how you searched. This is what I did, although output is from a Mageia 6 system.

Code: Select all
[doktor5000@Mageia6VM ~]$ urpmf 'allegro.h$'
liballegro-devel:/usr/include/allegro5/allegro.h
liballegro4-devel:/usr/include/allegro.h
[doktor5000@Mageia6VM ~]$


This searches in all configured repositories for a package that contains a file "allegro.h" (I'm using the regex anchor $ as there are some other files allegro.html and such which I was not interested in, you can also omit it to see the full list of results)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18053
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installing Allegro5.2 on Mageia 7

Postby hardrock » Dec 16th, '19, 18:26

I tried again this morning to install the Allegro libraries. I sat here and watched it install and I got NO FILES!
It is impossible to load this software! I am NOT wasting another day on this! Time to move on!
Happy Holidays to everyone!
hardrock
 
Posts: 12
Joined: Nov 9th, '19, 17:06

Re: Installing Allegro5.2 on Mageia 7

Postby martinw » Dec 18th, '19, 01:41

Code: Select all
[root@localhost martin]# urpmi lib64allegro-devel
    $MIRRORLIST: media/core/release/lib64allegro-devel-5.2.4.0-3.mga7.x86_64.rpm
installing lib64allegro-devel-5.2.4.0-3.mga7.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     #############################################
      1/1: lib64allegro-devel    #############################################
[root@localhost martin]# ls /usr/include/allegro5/
alcompat.h          allegro.h                allegro_ttf.h    bitmap_io.h    debug.h    fmaths.h           keyboard.h      path.h          tls.h
allegro5.h          allegro_image.h          allegro_video.h  bitmap_lock.h  display.h  fshook.h           keycodes.h      platform/       touch_input.h
allegro_acodec.h    allegro_memfile.h        allegro_x.h      blender.h      drawing.h  fullscreen_mode.h  memory.h        render_state.h  transformations.h
allegro_audio.h     allegro_native_dialog.h  altime.h         clipboard.h    error.h    haptic.h           monitor.h       shader.h        utf8.h
allegro_color.h     allegro_opengl.h         base.h           color.h        events.h   inline/            mouse_cursor.h  system.h
allegro_direct3d.h  allegro_physfs.h         bitmap_draw.h    config.h       file.h     internal/          mouse.h         threads.h
allegro_font.h      allegro_primitives.h     bitmap.h         cpu.h          fixed.h    joystick.h         opengl/         timer.h
[root@localhost martin]#

Where did you look?
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Installing Allegro5.2 on Mageia 7

Postby doktor5000 » Dec 18th, '19, 05:53

I don't think OP is interested in continuing this, see the earlier comment:
It is impossible to load this software! I am NOT wasting another day on this! Time to move on!
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18053
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron