QinL / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

lua install problems #479

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
typing make

What is the expected output?
find lua without the lua-5.1.pc and compile without errors.

What do you see instead?
it tells me then that i should check the pkg_config_search_path for lua-5.1.pc 
but i've compiled lua directly from the sources provided from its homepage and 
it dosn't produces an lua-5.1.pc the lua version 5.2.0 also does not create an 
pc file.

What version of GrafX2 are you using? On what operating system?
grafx2 Milestone-2.3 1781 on OpSys-openSUSE 11.4 (linux)

I've found an Makefile option (make pc > lua-5.2.pc) but that is only available 
in lua 5.2. I then copyed the lua-5.2.pc to lua-5.1.pc but make gives me the 
Warning "Package 'lua-5.1' has no Name: field" after i add this manually it 
comes up with "Package 'lua-5.1' has no Version: field" and "Package 'lua-5.1' 
has no Description: field" after i've added this mannually the warinings are 
gone but only to run into the errors shown in the attached file. I than had 
overwritten lua 5.2.0 with lua 5.1.5 but the errors remain the same

Original issue reported on code.google.com by HoraK-...@web.de on 10 Mar 2012 at 3:48

Attachments:

GoogleCodeExporter commented 8 years ago
the pc file lua creates with make pc > lua-5.2.pc misses the CFlags aswell as 
the Libs fields maybe that causes the errors in the attached file

Original comment by HoraK-...@web.de on 10 Mar 2012 at 4:27

GoogleCodeExporter commented 8 years ago
lua 5.2 is really not likely to help.
The grafx2 makefile makes three tries: for lua.pc, lua5.1.pc, and last 
lua-5.1.pc (This is where you finally get an error message)
I've checked lua-5.1.5.tar.gz and it contains a lua.pc, it's the right one. I 
don't know why pkg-config wouldn't find it after your 'make install'

Original comment by yrizoud on 10 Mar 2012 at 5:31

GoogleCodeExporter commented 8 years ago
thanx for the help the lua.pc file was in the lua-5.1.5.tar.gz but not in the 
src dir, it was in the etc dir and make install don't copyed it :/, i had to 
copy it by hand.

Original comment by HoraK-...@web.de on 29 Mar 2012 at 11:21

GoogleCodeExporter commented 8 years ago

Original comment by pulkoma...@gmail.com on 7 Apr 2012 at 1:34