png - Read, write and plot PNG image files in R - check results
RForge.net

png

About png
GIT access
Download/Files
News
Check results
Package R docs

Version: 0.1-8
Result: OK
Check time: 2022-11-30 18:58

Install log for Linux

* installing *source* package ‘png’ ...
** using staged installation
** libs
gcc -I"/www/rforge/sys/debian-11/usr/R/4.3/include" -DNDEBUG -I/usr/local/include `libpng-config --cflags` -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -c dummy.c -o dummy.o
gcc -I"/www/rforge/sys/debian-11/usr/R/4.3/include" -DNDEBUG -I/usr/local/include `libpng-config --cflags` -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -c read.c -o read.o
gcc -I"/www/rforge/sys/debian-11/usr/R/4.3/include" -DNDEBUG -I/usr/local/include `libpng-config --cflags` -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -c write.c -o write.o
gcc -shared -L/www/rforge/sys/debian-11/usr/R/4.3/lib -L/usr/local/lib -o png.so dummy.o read.o write.o -lpng16 -lm -lz -lm -L/www/rforge/sys/debian-11/usr/R/4.3/lib -lR
installing to /00LOCK-png/00new/png/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (png)

Distribution log

SVN checkout/GIT clone log


Build log for Windows (R 2.11.x)

* checking for file 'png/DESCRIPTION' ... OK
* preparing 'png':
* checking DESCRIPTION meta-information ... OK
* cleaning src
make: Nothing to be done for `clean'.
* removing junk files
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building binary distribution
WARNING: some HTML links may not be found
* installing *source* package 'png' ...
checking PNG headers and libraries
cannot find current PNG files
attempting to download them
unpacking current PNG
seems ok, ready to go
** libs
making DLL ...
gcc -I"c:/PROGRA~1/r/R-211~1.0/include" -Iwin32 -O3 -Wall -std=gnu99 -c read.c -o read.o
gcc -I"c:/PROGRA~1/r/R-211~1.0/include" -Iwin32 -O3 -Wall -std=gnu99 -c write.c -o write.o
gcc -shared -s -static-libgcc -o png.dll tmp.def read.o write.o -Lwin32 -lpng14 -lz -Lc:/PROGRA~1/r/R-211~1.0/bin -lR
installing to c:/tmp/Rinst39603842/png/libs
... done
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** MD5 sums
** testing if installed package can be loaded
packaged installation of 'png' as png_0.1-2.zip

* DONE (png)


Build log for Windows 64-bit (R 2.11.x)

* checking for file 'png/DESCRIPTION' ... OK
* preparing 'png':
* checking DESCRIPTION meta-information ... OK
* cleaning src
make: Nothing to be done for `clean'.
* removing junk files
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building binary distribution
WARNING: some HTML links may not be found
* installing *source* package 'png' ...
checking PNG headers and libraries
cannot find current PNG files
attempting to download them
unpacking current PNG
seems ok, ready to go
** libs
making DLL ...
x86_64-w64-mingw32-gcc -I"c:/PROGRA~1/r/R-211~1.0-X/include" -Iwin64 -O2 -Wall -gdwarf-2 -std=gnu99 -c read.c -o read.o
x86_64-w64-mingw32-gcc -I"c:/PROGRA~1/r/R-211~1.0-X/include" -Iwin64 -O2 -Wall -gdwarf-2 -std=gnu99 -c write.c -o write.o
x86_64-w64-mingw32-gcc -shared -static-libgcc -o png.dll tmp.def read.o write.o -Lwin64 -lpng14 -lz -Lc:/PROGRA~1/r/R-211~1.0-X/bin -lR
read.o: In function `user_read_data':
c:\tmp\Rbuild104891271\png\src/read.c:25: undefined reference to `png_get_io_ptr'
read.o: In function `user_error_fn':
c:\tmp\Rbuild104891271\png\src/read.c:15: undefined reference to `png_get_error_ptr'
read.o: In function `read_png':
c:\tmp\Rbuild104891271\png\src/read.c:77: undefined reference to `png_create_read_struct'
c:\tmp\Rbuild104891271\png\src/read.c:83: undefined reference to `png_create_info_struct'
c:\tmp\Rbuild104891271\png\src/read.c:91: undefined reference to `png_init_io'
c:\tmp\Rbuild104891271\png\src/read.c:92: undefined reference to `png_set_sig_bytes'
c:\tmp\Rbuild104891271\png\src/read.c:96: undefined reference to `png_read_png'
c:\tmp\Rbuild104891271\png\src/read.c:101: undefined reference to `png_get_IHDR'
c:\tmp\Rbuild104891271\png\src/read.c:104: undefined reference to `png_get_rowbytes'
c:\tmp\Rbuild104891271\png\src/read.c:112: undefined reference to `png_get_rows'
c:\tmp\Rbuild104891271\png\src/read.c:200: undefined reference to `png_destroy_read_struct'
c:\tmp\Rbuild104891271\png\src/read.c:69: undefined reference to `png_sig_cmp'
c:\tmp\Rbuild104891271\png\src/read.c:122: undefined reference to `png_destroy_read_struct'
c:\tmp\Rbuild104891271\png\src/read.c:94: undefined reference to `png_set_read_fn'
c:\tmp\Rbuild104891271\png\src/read.c:96: undefined reference to `png_read_png'
c:\tmp\Rbuild104891271\png\src/read.c:101: undefined reference to `png_get_IHDR'
c:\tmp\Rbuild104891271\png\src/read.c:104: undefined reference to `png_get_rowbytes'
c:\tmp\Rbuild104891271\png\src/read.c:112: undefined reference to `png_get_rows'
c:\tmp\Rbuild104891271\png\src/read.c:86: undefined reference to `png_destroy_read_struct'
write.o: In function `user_write_data':
c:\tmp\Rbuild104891271\png\src/write.c:30: undefined reference to `png_get_io_ptr'
write.o: In function `user_error_fn':
c:\tmp\Rbuild104891271\png\src/write.c:20: undefined reference to `png_get_error_ptr'
write.o: In function `write_png':
c:\tmp\Rbuild104891271\png\src/write.c:140: undefined reference to `png_create_write_struct'
c:\tmp\Rbuild104891271\png\src/write.c:146: undefined reference to `png_create_info_struct'
c:\tmp\Rbuild104891271\png\src/write.c:154: undefined reference to `png_init_io'
c:\tmp\Rbuild104891271\png\src/write.c:158: undefined reference to `png_set_IHDR'
c:\tmp\Rbuild104891271\png\src/write.c:230: undefined reference to `png_set_rows'
c:\tmp\Rbuild104891271\png\src/write.c:233: undefined reference to `png_write_png'
c:\tmp\Rbuild104891271\png\src/write.c:235: undefined reference to `png_destroy_write_struct'
c:\tmp\Rbuild104891271\png\src/write.c:149: undefined reference to `png_destroy_write_struct'
c:\tmp\Rbuild104891271\png\src/write.c:156: undefined reference to `png_set_write_fn'
collect2: ld returned 1 exit status
... done
ERROR: compilation failed for package 'png'
* removing 'c:/tmp/Rinst104841149/png'
ERROR
* installation failed


Build log for Mac OS X 10.5 (R 2.16.x)

* installing *source* package 'png' ...
** libs
*** arch - i386
gcc -arch i386 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -DNDEBUG -I/usr/local/include `libpng-config --cflags` -fPIC -g -O2 -c read.c -o read.o
gcc -arch i386 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -DNDEBUG -I/usr/local/include `libpng-config --cflags` -fPIC -g -O2 -c write.c -o write.o
gcc -arch i386 -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o png.so read.o write.o -L/usr/local/lib -lpng15 -lz -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Tiger/Builds/rforge/Rlib/osx9-2.16/png/libs/i386
*** arch - ppc
gcc -arch ppc -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/ppc -DNDEBUG -I/usr/local/include `libpng-config --cflags` -fPIC -g -O2 -c read.c -o read.o
gcc -arch ppc -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/ppc -DNDEBUG -I/usr/local/include `libpng-config --cflags` -fPIC -g -O2 -c write.c -o write.o
gcc -arch ppc -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o png.so read.o write.o -L/usr/local/lib -lpng15 -lz -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Tiger/Builds/rforge/Rlib/osx9-2.16/png/libs/ppc
*** arch - x86_64
gcc -arch x86_64 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/usr/local/include `libpng-config --cflags` -fPIC -g -O2 -c read.c -o read.o
gcc -arch x86_64 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/usr/local/include `libpng-config --cflags` -fPIC -g -O2 -c write.c -o write.o
gcc -arch x86_64 -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o png.so read.o write.o -L/usr/local/lib -lpng15 -lz -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Tiger/Builds/rforge/Rlib/osx9-2.16/png/libs/x86_64
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
*** arch - ppc
*** arch - x86_64
packaged installation of 'png' as 'png_0.1-4.tgz'

* DONE (png)

Build log for Windows 7 (R 3.0.x)

(png 0.1-6)
- building i386
* installing to library 'z:/rforge/Rlib/win7-3.0'
* installing *source* package 'png' ...
checking PNG headers and libraries
LOCAL_SOFT does not exist, fall back to external png
cannot find current PNG files
attempting to download them
unpacking current PNG
seems ok, ready to go
** libs

*** arch - i386
gcc -m32 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -Iwin32 -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O3 -Wall -std=gnu99 -mtune=core2 -c read.c -o read.o
gcc -m32 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -Iwin32 -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O3 -Wall -std=gnu99 -mtune=core2 -c write.c -o write.o
gcc -m32 -shared -s -static-libgcc -o png.dll tmp.def read.o write.o -Lwin32 -lpng -lz -Ld:/RCompile/CRANpkg/extralibs64/local/lib/i386 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LC:/PROGRA~1/r/r-3.0/bin/i386 -lR
installing to z:/rforge/Rlib/win7-3.0/png/libs/i386

*** arch - x64
gcc -m64 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -Iwin64 -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -std=gnu99 -mtune=core2 -c read.c -o read.o
gcc -m64 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -Iwin64 -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -std=gnu99 -mtune=core2 -c write.c -o write.o
gcc -m64 -shared -s -static-libgcc -o png.dll tmp.def read.o write.o -Lwin64 -lpng -lz -Ld:/RCompile/CRANpkg/extralibs64/local/lib/x64 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LC:/PROGRA~1/r/r-3.0/bin/x64 -lR
installing to z:/rforge/Rlib/win7-3.0/png/libs/x64
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
*** arch - x64
* DONE (png)

- building x64
* installing to library 'z:/rforge/Rlib/win7-3.0'
* installing *source* package 'png' ...
checking PNG headers and libraries
LOCAL_SOFT does not exist, fall back to external png
cannot find current PNG files
attempting to download them
unpacking current PNG
seems ok, ready to go
** libs

*** arch - i386
gcc -m32 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -Iwin32 -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O3 -Wall -std=gnu99 -mtune=core2 -c read.c -o read.o
gcc -m32 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -Iwin32 -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O3 -Wall -std=gnu99 -mtune=core2 -c write.c -o write.o
gcc -m32 -shared -s -static-libgcc -o png.dll tmp.def read.o write.o -Lwin32 -lpng -lz -Ld:/RCompile/CRANpkg/extralibs64/local/lib/i386 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LC:/PROGRA~1/r/r-3.0/bin/i386 -lR
installing to z:/rforge/Rlib/win7-3.0/png/libs/i386

*** arch - x64
gcc -m64 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -Iwin64 -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -std=gnu99 -mtune=core2 -c read.c -o read.o
gcc -m64 -I"C:/PROGRA~1/r/r-3.0/include" -DNDEBUG -Iwin64 -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -std=gnu99 -mtune=core2 -c write.c -o write.o
gcc -m64 -shared -s -static-libgcc -o png.dll tmp.def read.o write.o -Lwin64 -lpng -lz -Ld:/RCompile/CRANpkg/extralibs64/local/lib/x64 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LC:/PROGRA~1/r/r-3.0/bin/x64 -lR
installing to z:/rforge/Rlib/win7-3.0/png/libs/x64
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
*** arch - x64
* DONE (png)