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

Cant build cups-filters (last) on Ubuntu #509

Closed
Saddy256 opened this issue Feb 15, 2023 · 6 comments
Closed

Cant build cups-filters (last) on Ubuntu #509

Saddy256 opened this issue Feb 15, 2023 · 6 comments

Comments

@Saddy256
Copy link

Saddy256 commented Feb 15, 2023

Ubuntu 20.04.2 LTS
Linux mserv 5.4.0-139-generic #156-Ubuntu SMP Fri Jan 20 17:27:18 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Error with make:

make  all-recursive
make[1]: вход в каталог «/home/saddy/Downloads/cups-filters-master»
make[2]: вход в каталог «/home/saddy/Downloads/cups-filters-master»
  CC       backend/parallel-parallel.o
  CCLD     parallel
/usr/bin/ld: backend/parallel-parallel.o: in function `side_cb':
/home/saddy/Загрузки/cups-filters-master/backend/parallel.c:841: undefined reference to `cfIEEE1284GetDeviceID'
/usr/bin/ld: backend/parallel-parallel.o: in function `list_devices':
/home/saddy/Загрузки/cups-filters-master/backend/parallel.c:422: undefined reference to `cfIEEE1284GetDeviceID'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1683: parallel] Ошибка 1
make[2]: выход из каталога «/home/saddy/Downloads/cups-filters-master»
make[1]: *** [Makefile:2635: all-recursive] Ошибка 1
make[1]: выход из каталога «/home/saddy/Downloads/cups-filters-master»
make: *** [Makefile:1344: all] Ошибка 2

result of ./confugure:

configure:
==============================================================================
Environment settings:
	CFLAGS:                                    -g -O2 -Wall -std=gnu11 -D_GNU_SOURCE
	CXXFLAGS:                                   -Wall  -D_GNU_SOURCE
	LDFLAGS:                                   
Build configuration:
	cups-config:     system
	foomatic:        yes
	poppler:         yes
	ghostscript:     yes
	gs-path:         system
	mutool:          yes
	mutool-path:     system
	ippfind-path:    system
	imagefilters:    yes
	pstops:          no
	rastertopwg:     no
	shell:           /bin/bash
	avahi:           yes
	universal CUPS filter: yes
	individual CUPS filters: no
	driverless:      yes
	werror:          no
==============================================================================

same with cups-filters-2.0b3.tar.gz

@tillkamppeter
Copy link
Member

Did you install libcupsfilters 2.0b3 and libppd 2.0b3 (or current GIT masters of these)?

@Saddy256
Copy link
Author

Yes, libcupsfilters 2.0b3 and libppd 2.0b3 build and installed right before

@Saddy256
Copy link
Author

Saddy256 commented Feb 15, 2023

May be old packages can mess?
dpkg -l |grep libpp
ii libppd-dev 2:0.10-7.3 amd64 postscript PPD file library, development kit
ii libppd0 2:0.10-7.3 amd64 postscript PPD file library

dpkg -l |grep libcup
ii libcups2:amd64 2.3.1-9ubuntu1.2 amd64 Common UNIX Printing System(tm) - Core library
ii libcups2-dev:amd64 2.3.1-9ubuntu1.2 amd64 Common UNIX Printing System(tm) - Development files CUPS library
ii libcupsfilters-dev:amd64 1.27.4-1 amd64 OpenPrinting CUPS Filters - Development files for the library
ii libcupsfilters1:amd64 1.27.4-1 amd64 OpenPrinting CUPS Filters - Shared library
ii libcupsimage2:amd64 2.3.1-9ubuntu1.2 amd64 Common UNIX Printing System(tm) - Raster image library
ii libcupsimage2-dev:amd64 2.3.1-9ubuntu1.2 amd64 Common UNIX Printing System(tm) - Development files CUPS image library

@tillkamppeter
Copy link
Member

Yes, try uninstalling libppd 0.x and libcupsfilters/cupsfilters 1.x packages. libcups and libcupsimage2 are OK.

@Saddy256
Copy link
Author

Saddy256 commented Feb 15, 2023

I removed old libppd + libcupsfilters+cupsfilters and make uninstall/install them from git and got new erros:

make[2]: вход в каталог «/home/saddy/cups-filters-2.0b3»
CCLD commandtoescpx
/usr/bin/ld: /usr/lib/libppd.so: undefined reference to cfCMYKSetLtDk' /usr/bin/ld: /usr/lib/libppd.so: undefined reference to cfFilterUniversal'
/usr/bin/ld: /usr/lib/libppd.so: undefined reference to `cfFilterGetEnvVar'
and many other lines like this

@Saddy256
Copy link
Author

rebuilding of all (libppd+libcupsfilters) remove erros, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants