Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ippsample install #278

Closed
ravirajbasis opened this issue Mar 17, 2023 · 13 comments
Closed

ippsample install #278

ravirajbasis opened this issue Mar 17, 2023 · 13 comments

Comments

@ravirajbasis
Copy link

Hi

Trying to install ippsample in FreeBSD Unix 12.x!

Downloaded & extracted zip archive for ippsample.

Installed using: ./configure --prefix=/usr/local
ends in: configure: WARNING: no configuration information is in libcups

make stops with error code 1

How to troubleshoot?

Thanks
rraj

@michaelrsweet
Copy link
Contributor

So I tested both the .tar.gz and .zip files for the 2023.03 snapshot - both worked on Linux and macOS. I don't have a FreeBSD VM that I can test with, unfortunately.

Can you attach the complete output from the configure script?

@wifiprintguy
Copy link
Contributor

Could this be a git / submodule issue?

@michaelrsweet
Copy link
Contributor

@wifiprintguy No, this is with the ZIP archive I posted (for people who cannot use Git to checkout the code).

@ravirajbasis
Copy link
Author

ravirajbasis commented Mar 18, 2023

So I tested both the .tar.gz and .zip files for the 2023.03 snapshot - both worked on Linux and macOS. I don't have a FreeBSD VM that I can test with, unfortunately.

Can you attach the complete output from the configure script?

Hi

Output of configure.

root@localhost:~/Documents/ippsample-master/ippsample-master # ./configure --prefix=/usr/local
checking build system type... x86_64-unknown-freebsd12.3
checking host system type... x86_64-unknown-freebsd12.3
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking for codesign... no
checking for true... /usr/bin/true
checking for mkdir... /bin/mkdir
checking for rm... /bin/rm
checking for rmdir... /bin/rmdir
checking for ln... /bin/ln
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for pdftoppm... /usr/local/bin/pdftoppm
checking for CuraEngine... no
checking for install-sh script... using /root/Documents/ippsample-master/ippsample-master/install-sh
checking for pkg-config... /usr/local/bin/pkg-config
checking for dlopen in -ldl... yes
checking for pam_start in -lpam... yes
checking for security/pam_appl.h... yes
checking for pam/pam_appl.h... no
checking whether compiler supports -Wno-char-subscripts... yes
checking whether compiler supports -Wno-format-truncation... no
checking whether compiler supports -Wno-format-y2k... yes
checking whether compiler supports -Wno-switch... yes
checking whether compiler supports -Wno-unused-result... yes
checking whether compiler supports -fPIE... yes
configure: creating ./config.status
config.status: creating Makedefs
config.status: creating config.h
config.status: config.h is unchanged
=== configuring in libcups (/root/Documents/ippsample-master/ippsample-master/libcups)
configure: WARNING: no configuration information is in libcups

Thanks
rraj

@michaelrsweet
Copy link
Contributor

OK, one last thing, run "ls -l libcups"...

@ravirajbasis
Copy link
Author

OK, one last thing, run "ls -l libcups"...

Hi

root@localhost:~/Documents/ippsample-master/ippsample-master # ls -l libcups
total 0

Thanks
rraj

@michaelrsweet
Copy link
Contributor

OK, did you download the ZIP file from the releases or just from the Github "get code" button? Because the Github button won't give you everything (it doesn't handle submodules).

@ravirajbasis
Copy link
Author

OK, did you download the ZIP file from the releases or just from the Github "get code" button? Because the Github button won't give you everything (it doesn't handle submodules).

Hi

Downloaded zip file from github get code button!

What to do next?

Thanks
rraj

@michaelrsweet
Copy link
Contributor

Go to the releases page and download an actual release archive, or use Git to download the code so you can get the submodules, as described in the README.md file...

@ravirajbasis
Copy link
Author

ravirajbasis commented Mar 19, 2023

Hi

Used release page to download zip file.

install give following output:

root@localhost:~/Documents/ippsample-2023.03/ippsample-2023.03 # ./configure --prefix=/usr/local
checking build system type... x86_64-unknown-freebsd12.3
checking host system type... x86_64-unknown-freebsd12.3
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking for codesign... no
checking for true... /usr/bin/true
checking for mkdir... /bin/mkdir
checking for rm... /bin/rm
checking for rmdir... /bin/rmdir
checking for ln... /bin/ln
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for pdftoppm... /usr/local/bin/pdftoppm
checking for CuraEngine... no
checking for install-sh script... using /root/Documents/ippsample-2023.03/ippsample-2023.03/install-sh
checking for pkg-config... /usr/local/bin/pkg-config
checking for dlopen in -ldl... yes
checking for pam_start in -lpam... yes
checking for security/pam_appl.h... yes
checking for pam/pam_appl.h... no
checking whether compiler supports -Wno-char-subscripts... yes
checking whether compiler supports -Wno-format-truncation... no
checking whether compiler supports -Wno-format-y2k... yes
checking whether compiler supports -Wno-switch... yes
checking whether compiler supports -Wno-unused-result... yes
checking whether compiler supports -fPIE... yes
configure: creating ./config.status
config.status: creating Makedefs
config.status: creating config.h
=== configuring in libcups (/root/Documents/ippsample-2023.03/ippsample-2023.03/libcups)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local'  --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-unknown-freebsd12.3
checking host system type... x86_64-unknown-freebsd12.3
checking for codesign... no
checking for true... /usr/bin/true
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for codesign... (cached) /usr/bin/true
checking for install-sh script... using /root/Documents/ippsample-2023.03/ippsample-2023.03/libcups/install-sh
checking for mkdir... /bin/mkdir
checking for rm... /bin/rm
checking for rmdir... /bin/rmdir
checking for ln... /bin/ln
checking for install-sh script... using /root/Documents/ippsample-2023.03/ippsample-2023.03/libcups/install-sh
checking for pkg-config... /usr/local/bin/pkg-config
checking for strlcat... yes
checking for strlcpy... yes
checking for library containing hstrerror... none required
checking for library containing __res_init... none required
checking for SCDynamicStoreCopyComputerName... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for CoreFoundation/CoreFoundation.h... no
checking for langinfo.h... yes
checking for resolv.h... no
.: missing filename
configure: error: ./configure failed for libcups
root@localhost:~/Documents/ippsample-2023.03/ippsample-2023.03 # ls -l libcups
total 456
-rw-rw-r--  1 root  wheel      99 Mar  4 21:36 .codacy.yml
-rw-rw-r--  1 root  wheel    1884 Mar  4 21:36 CHANGES.md
-rw-rw-r--  1 root  wheel     492 Mar  4 21:36 CODE_OF_CONDUCT.md
-rw-rw-r--  1 root  wheel     399 Mar  4 21:36 CONTRIBUTING.md
-rw-rw-r--  1 root  wheel    3034 Mar  4 21:36 CREDITS.md
-rw-rw-r--  1 root  wheel   22733 Mar  4 21:36 DEVELOPING.md
-rw-rw-r--  1 root  wheel    3450 Mar  4 21:36 INSTALL.md
-rw-rw-r--  1 root  wheel   11358 Mar  4 21:36 LICENSE
-rw-rw-r--  1 root  wheel    6369 Mar  4 21:36 MIGRATING.md
-rw-rw-r--  1 root  wheel    2993 Mar  4 21:36 Makedefs.in
-rw-rw-r--  1 root  wheel    2657 Mar  4 21:36 Makefile
-rw-rw-r--  1 root  wheel    1148 Mar  4 21:36 NOTICE
-rw-rw-r--  1 root  wheel     887 Mar  4 21:36 PLANS.md
-rw-rw-r--  1 root  wheel    3209 Mar  4 21:36 README.md
-rw-rw-r--  1 root  wheel    5222 Mar  4 21:36 SECURITY.md
-rwxrwxr-x  1 root  wheel   49938 Mar  4 21:36 config.guess
-rw-rw-r--  1 root  wheel    2933 Mar  4 21:36 config.h.in
-rw-r--r--  1 root  wheel   18034 Mar 19 22:56 config.log
-rwxrwxr-x  1 root  wheel   35819 Mar  4 21:36 config.sub
-rwxrwxr-x  1 root  wheel  185138 Mar  4 21:36 configure
-rw-rw-r--  1 root  wheel   19555 Mar  4 21:36 configure.ac
drwxr-xr-x  4 root  wheel    2560 Mar  4 21:36 cups
-rw-rw-r--  1 root  wheel     619 Mar  4 21:36 cups3.pc.in
drwxr-xr-x  2 root  wheel     512 Mar  4 21:36 doc
drwxr-xr-x  2 root  wheel    2560 Mar  4 21:36 examples
-rwxrwxr-x  1 root  wheel    5572 Mar  4 21:36 install-sh
drwxr-xr-x  2 root  wheel     512 Mar  4 21:36 man
drwxr-xr-x  2 root  wheel     512 Mar  4 21:36 packaging
drwxr-xr-x  2 root  wheel     512 Mar  4 21:36 tools
drwxr-xr-x  3 root  wheel    1536 Mar  4 21:36 vcnet
drwxr-xr-x  3 root  wheel     512 Mar  4 21:36 xcode

Thanks
rraj

@michaelrsweet
Copy link
Contributor

OK, it looks like you are missing something - the configure output stops before the st_gen member check. Can you attach the "libcups/config.log" file?

@ravirajbasis
Copy link
Author

OK, it looks like you are missing something - the configure output stops before the st_gen member check. Can you attach the "libcups/config.log" file?

Hi

/libcups/config.log is attached below.

config.log

Thanks
rraj

@michaelrsweet
Copy link
Contributor

Aha, it looks like there was a typo in the configure script for libcups.

OK, so what you really need (for ippfind, ipptool, and the other IPP commands) is just the libcups project. I'm pushing a fix for the configure script now (and you can just grab the ZIP file for that repo since it doesn't use submodules) but there won't be another ippsample release until next month...

[master 1a68789] Update libcups for configure script fix (Issue #278)

michaelrsweet added a commit that referenced this issue Mar 20, 2023
Update PDFio for version number update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants