problems building on Ubuntu 18.04
Bug #1777788 reported by
Michal Szymanski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ical |
New
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 18.04, with tcl-dev package installed, there are following problems:
1. "configure" fails to find tclConfig.sh
checking for tclConfig.sh... configure: error: I could not find tclConfig.sh in /usr/share/
actually, the file is in /usr/lib/
2. After giving the path explicitely:
configure --with-
That's really strange as sourcing tclConfig.sh file sets the environment variable
TCL_INCLUDE_
Only after giving extra flag to configure:
CXXFLAGS=
ical gets built properly
To post a comment you must log in.
I can confirm that this also affects Xubuntu 18.04 with tcl/tk 8.5. This ran apparently successfully:
./configure --prefix=/home/me --with- tclconfig= /usr/lib/ tcl8.5 --with- tkconfig= /usr/lib/ tk8.5 CPPFLAGS= -I/usr/ include/ tcl8.5
However, the subsequent make fails:
main.C: In function ‘int Ical_Init( Tcl_Interp* )’: ap(tcl, Tk_GetUid( id),n## _bits,n# #_width, n##_height) == TCL_OK)
^
^~~~~~~ ~~~~ tcl8.5/ tk.h:1537: 0,
from main.C:24:
main.C:147:65: error: invalid conversion from ‘unsigned char*’ to ‘const char*’ [-fpermissive]
(Tk_DefineBitm
main.C:154:14: note: in expansion of macro ‘MAKE_BITMAP’
if (!MAKE_BITMAP(tcl, "left_arrow", left)) return TCL_ERROR;
In file included from /usr/include/
...