scandir on solaris 9

Joerg Schilling Joerg.Schilling at fokus.fraunhofer.de
Thu Jun 18 12:11:27 CEST 2015


Riccardo Mottola <rmottola at opencsw.org> wrote:

> Hi,
>
> in the maze of libcairo upgrade, which I'd like on solaris 9 too, I got 
> entangled in fontconfig.
>
> I got this:
> checking for lstat... yes
> checking for posix_fadvise... no
> checking for scandir... configure: error:
> *** No scandir function available.
> gmake[1]: *** 
> [configure-work/build-isa-sparcv8/fontconfig-2.11.0/configure] Error 1
> gmake[1]: Leaving directory `/home/rmottola/opencsw/fontconfig/trunk'
>
>
> did you guys already had experience with scandir during solaris 8/9 
> times? Apparently there is the UCB version, while later it was moved 
> directly into libc.

scandir() was not part of the POSIX standard before 2008.

A program that requires scandir() is written in a portable way should be fixed
inline instead of trying to find a workaround.

Jörg

-- 
 EMail:joerg at schily.net                    (home) Jörg Schilling D-13353 Berlin
       joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/'


More information about the maintainers mailing list