bugGNUstep - Bugs: bug #25602, libpng location for openbsd

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #25602: libpng location for openbsd

Submitted by:  Riccardo Mottola <rmottola>
Submitted on:  Mon 16 Feb 2009 10:53:19 PM UTC  
 
Category: MakefilesSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Adam Fedor <fedor>
Open/Closed: Closed

(Jump to the original submission Jump to the original submission)

Tue 17 Feb 2009 10:49:50 PM UTC, comment #6:

libpng gets picked up now...

Riccardo Mottola <rmottola>
Project Member
Tue 17 Feb 2009 03:12:47 PM UTC, comment #5:

It's really the plethora of choices that we need to try I guess. First pkg-config, then libpng-config, etc... I'll try to come up with something sensible.

Adam Fedor <fedor>
Project AdministratorIn charge of this item.
Tue 17 Feb 2009 12:20:41 PM UTC, comment #4:

I'm wondering whether the correct approach would entail something like: `libpng12-config --I_opts`

David Ayers <ayers>
Project Member
Mon 16 Feb 2009 11:24:41 PM UTC, comment #3:

Can you try it now from svn?

Adam Fedor <fedor>
Project AdministratorIn charge of this item.
Mon 16 Feb 2009 11:19:40 PM UTC, comment #2:

I'd prefer updating configure to check for the location of png.h. I have a patch for that I'll commit.

Adam Fedor <fedor>
Project AdministratorIn charge of this item.
Mon 16 Feb 2009 11:00:12 PM UTC, comment #1:

ADDITIONAL_INCLUDE_DIRS += -I/usr/local/include/libpng

that fixes it for me

Riccardo Mottola <rmottola>
Project Member
Mon 16 Feb 2009 10:53:19 PM UTC, original submission:

gnsutep-gui doesn't look for libpng in the correct location on OpenBSD

Compiling file NSBitmapImageRep+JPEG.m ...
In file included from /usr/local/include/jpeglib.h:24,
from NSBitmapImageRep+JPEG.m:55:
/usr/local/include/jconfig.h:12: warning: `HAVE_STDLIB_H' redefined
config.h:74: warning: this is the location of the previous definition
Compiling file NSBitmapImageRep+PNG.m ...
NSBitmapImageRep+PNG.m:35: png.h: No such file or directory
gmake[2]: *** [obj/NSBitmapImageRep+PNG.m.o] Error 1

the correct locaion if libpng got installed through the ports system is:

$ ls /usr/local/include/libpng/
png.h pngconf.h

Riccardo Mottola <rmottola>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ayers (Posted a comment)
  • -unavailable- added by fedor (Posted a comment)
  • -unavailable- added by rmottola (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 17 Feb 2009 10:49:50 PM UTCrmottolaStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Mon 16 Feb 2009 11:24:41 PM UTCfedorStatusNone=>Ready For Test
    Mon 16 Feb 2009 11:19:40 PM UTCfedorAssigned toNone=>fedor

    Back to the top


    Powered by Savane 3.1-cleanup1