Git Product home page Git Product logo

Comments (15)

TTimo avatar TTimo commented on August 27, 2024

This is because Arch uses a newer version of libpng. Patches welcome. We want to maintain compatibility with Linux distributions that are already working though (at least Debian/sid x86_64 which is what I'm using).

from gtkradiant.

Majki avatar Majki commented on August 27, 2024

Current version of Ubuntu, most popular Linux now can't compile Radiant. They will update for sure libpng more in the April, when 12.04 will hit the stores. It's not only Arch Linux problem. Which version of libpng is needed? I have a couple of them as extra packages:
http://aur.archlinux.org/packages.php?O=0&K=libpng&do_Search=Go

from gtkradiant.

TTimo avatar TTimo commented on August 27, 2024

Do you know what version you are attempting to use right now?
This is what's in Debian: http://packages.debian.org/source/sid/libpng
You may be using 3, so I'd recommend trying 1.2 and going further down
if needed.

On a side note, it would make sense to write a debian package skeleton
for GtkRadiant. It's something I've stayed away in the past but it
would help control library dependencies, of which we have many. Same
for rpm based environments.

On Mon, Mar 19, 2012 at 9:10 AM, Majki
[email protected]
wrote:

Current version of  Ubuntu, most popular Linux now can't compile Radiant. They will update for sure libpng more in the April, when 12.04 will hit the stores. It's not only Arch Linux problem. Which version of libpng is needed? I have a couple of them as extra packages:
http://aur.archlinux.org/packages.php?O=0&K=libpng&do_Search=Go


Reply to this email directly or view it on GitHub:
#9 (comment)

from gtkradiant.

Majki avatar Majki commented on August 27, 2024

I have installed libpng12:

[michal@localhost aur-gtkradiant-svn]$ pacman -Qs libpng
local/libpng 1.5.9-1
A collection of routines used to create PNG format graphics files
local/libpng12 1.2.48-1
A collection of routines used to create PNG format graphics files

Still the same.

from gtkradiant.

TTimo avatar TTimo commented on August 27, 2024

Patches welcome. Eventually I'll find the time to spin up an ubuntu instance somewhere and fix it.

from gtkradiant.

TTimo avatar TTimo commented on August 27, 2024

Did a brief compile attempt on Ubuntu 12.04, but it fails at the first link (radiant.bin) because of the order in which it puts the libraries on the link line. Not sure why I'm having that problem on this build system and you don't.

EDIT: Resolved - use binutils-gold linker. Wouldn't hurt to fix scons to pass the libs in the right order still.

from gtkradiant.

TTimo avatar TTimo commented on August 27, 2024

Ended up compiling everything with no problem on Ubuntu 12.04:
apt-get install libjpeg62-dev

Majki, maybe Arch doesn't have that package, or you have other libjpeg62-dev packages installed that conflict?

from gtkradiant.

Majki avatar Majki commented on August 27, 2024

I still can't compile it

[michal@localhost ~]$ yaourt -Qs libjpeg
extra/libjpeg-turbo 1.2.0-1
libjpeg derivative with accelerated baseline JPEG compression and decompression
local/libjpeg6 6b-9
Library of JPEG support functions

Problem must be elsewhere.

As for binutils-gold, it's in the Arch Linux by default in bilutils package: http://www.archlinux.org/packages/core/i686/binutils/

as

usr/bin/ld
usr/bin/ld.bfd
usr/bin/ld.gold

from gtkradiant.

TTimo avatar TTimo commented on August 27, 2024

Try removing libjpeg-turbo maybe. I saw that package on ubuntu and ignored it. It could be putting incompatible headers in the include path.

I don't see the usefulness/work ratio for this getting anywhere, so I don't plan to work on this specific problem further. I expect providing Linux binaries directly will solve this #12

from gtkradiant.

 avatar commented on August 27, 2024

So, I commited two files and gtkradiant has compile ok. (arch)

from gtkradiant.

Majki avatar Majki commented on August 27, 2024

So now if I yaourt gtkradiant it will compile, yes?

from gtkradiant.

 avatar commented on August 27, 2024

in AUR pkgbuild is outdated (uses SVN, instead git). I will fix it.
In my patch-1 i see only one file, but I have edit /tools/quake3/q3map2/image.c too. How can I add second file?

from gtkradiant.

 avatar commented on August 27, 2024

I have add new pull. With right patches of both files. I have download my fork and it compiles ok. I will fix PKGBUILD later.

from gtkradiant.

TTimo avatar TTimo commented on August 27, 2024

Thank you. I merged the change after checking that this still compiled on Debian/Sid. I would like someone to confirm that the Windows compilation hasn't broken before closing.

from gtkradiant.

TTimo avatar TTimo commented on August 27, 2024

Windows is compiling fine still. Radiant locks up while loading q3dm17sample on a jpg file, but I confirmed this wasn't caused by this change.

from gtkradiant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.