[Linux] GUI discussion

Discussion of development and patch submission.
Greatpsycho
Posts: 88
Joined: Tue 22 Mar, 2016 10:03 am
Location: Korea
Contact:

Re: [Linux] GUI discussion

Postby Greatpsycho » Wed 01 Nov, 2017 12:56 pm

AmatCoder wrote:It seems that you have installed SDL2 into /usr/local.
Uninstall it and then re-install it with:

Code: Select all

$ ./configure --prefix=/usr

Rationale:
Configure script installs packages into /usr/local/ by default (i.e. if prefix is not set).

As pkg-config* will search for .pc files in the directories /usr/lib/pkgconfig and /usr/share/pkgconfig (on a typical system),
your sdl2.pc is not found (it was into /usr/local/lib/pkgconfig).

(*)The pkg-config program is used to retrieve information about installed libraries in the system.


I did try as you suggested, but the result is the same. Screenshot and config.log file is attached.

SDL2-error.png
SDL2-error.png (72.25 KiB) Viewed 336 times
Attachments
config.log
(17.21 KiB) Downloaded 5 times
AmatCoder
Posts: 28
Joined: Thu 02 Mar, 2017 8:45 pm

Re: [Linux] GUI discussion

Postby AmatCoder » Wed 01 Nov, 2017 1:52 pm

Check the output of:

Code: Select all

$ pkg-config --variable pc_path pkg-config

Per example, here (on Arch Linux) gives:

Code: Select all

/usr/lib/pkgconfig:/usr/share/pkgconfig

One file called sdl2.pc must exist into one of those directories.
Greatpsycho
Posts: 88
Joined: Tue 22 Mar, 2016 10:03 am
Location: Korea
Contact:

Re: [Linux] GUI discussion

Postby Greatpsycho » Wed 01 Nov, 2017 1:58 pm

AmatCoder wrote:Check the output of:

Code: Select all

$ pkg-config --variable pc_path pkg-config

Per example, here (on Arch Linux) gives:

Code: Select all

/usr/lib/pkgconfig:/usr/share/pkgconfig

One file called sdl2.pc must exist into one of those directories.


I did what you asked me to do, but nothing like the screenshot below.
pkg-config-result.png
pkg-config-result.png (18.14 KiB) Viewed 329 times


Edit : I've logged as root, configure script and make have run fine. Is there anything I can do with a normal user account on CentOS 6.x?
On a debian-based Linux system and CentOS 7.x installed in a virtual machine, there are no problems with normal user accounts.
AmatCoder
Posts: 28
Joined: Thu 02 Mar, 2017 8:45 pm

Re: [Linux] GUI discussion

Postby AmatCoder » Wed 01 Nov, 2017 3:18 pm

Greatpsycho wrote:Edit : I've logged as root, configure script and make have run fine. Is there anything I can do with a normal user account on CentOS 6.x?
On a debian-based Linux system installed in a virtual machine, there are no problems with normal user accounts.


I guess that something is wrong in your system. Configure script and make does not require root privileges.
szadycbr
Posts: 185
Joined: Mon 21 Nov, 2016 6:23 pm

Re: [Linux] GUI discussion

Postby szadycbr » Fri 03 Nov, 2017 9:28 pm

I guess its not about GUI but it happen running PCem in Linux so i will ask here. 430vx from some time now, does not boot from floppy, can anyone confirm that?
User avatar
leilei
Posts: 432
Joined: Fri 25 Apr, 2014 4:47 pm

Re: [Linux] GUI discussion

Postby leilei » Fri 03 Nov, 2017 10:57 pm

I can still boot from floppy on 430vx in Windows at least....
szadycbr
Posts: 185
Joined: Mon 21 Nov, 2016 6:23 pm

Re: [Linux] GUI discussion

Postby szadycbr » Sat 04 Nov, 2017 9:48 am

Thanks leilei, it is on 64bit linux wx-sdl2 build, i know there are some problems with recompiler in linux , but running it without it does not make a difference, so i dont know why. is there any way to check what is happening? how to debug the thing?
JosepMa
Posts: 70
Joined: Tue 20 Jun, 2017 6:25 pm

Re: [Linux] GUI discussion

Postby JosepMa » Sat 04 Nov, 2017 12:35 pm

@szadycbr : There were some changes to the floppy controller. I also experienced problems running it under a windows host.
My solution consisted in going into the guest bios , there into integrated peripherals, and there enable onboard FDD controller.

Give it a try.
szadycbr
Posts: 185
Joined: Mon 21 Nov, 2016 6:23 pm

Re: [Linux] GUI discussion

Postby szadycbr » Sat 04 Nov, 2017 3:47 pm

Thanks Joseph, but i do always first configure FDD in bios, and BIOS does see FDD 1.44 during boot on list of devices but it just wont even try to boot, as You can see it on fdd icon, it checks CD or HDD but floppy wont even blink. and as i searched peripherals i seen USB in 430vx! does it work?

Return to “Development”

Who is online

Users browsing this forum: No registered users and 1 guest