tbabej / vit

Placeholder to demostrate issue porting for VIT.
0 stars 0 forks source link

[VT-77] vittk needs X to be running in order to build #77

Closed tbabej closed 6 years ago

tbabej commented 6 years ago

Peter Lewis on 2011-04-15T17:03:37Z says:

Hi,

I'm trying to build vittk on a machine with X installed, but without X running (a build server). But, it fails.

Running "configure" give me:

checking for bash... /bin/sh checking for wish... /usr/bin/wish checking for task... /usr/bin/task configure: creating ./config.status config.status: creating task-startstop config.status: creating task-undo config.status: creating Makefile config.status: creating vittk.man config.status: creating vittk creating ./tclIndex Application initialization failed: couldn't connect to display "" ./configure is done now do "sudo make install" or "make install"

And "make install" gives:

mkdir -p /home/pete/arch/builds/aur/vittk/pkg/usr/bin mkdir -p /home/pete/arch/builds/aur/vittk/pkg/usr/share/doc/vittk installing documentation in /home/pete/arch/builds/aur/vittk/pkg/usr/share/doc/vittk installing man page in /home/pete/arch/builds/aur/vittk/pkg/usr/man/man1 mkdir -p /home/pete/arch/builds/aur/vittk/pkg/usr/man/man1 installing vittkrc in /home/pete/arch/builds/aur/vittk/pkg/usr/etc mkdir -p /home/pete/arch/builds/aur/vittk/pkg/usr/libexec/vittk installing task-startstop in /home/pete/arch/builds/aur/vittk/pkg/usr/libexec/vittk installing task-undo in /home/pete/arch/builds/aur/vittk/pkg/usr/libexec/vittk installing .tcl files and tclIndex in /home/pete/arch/builds/aur/vittk/pkg/usr/lib/vittk mkdir -p /home/pete/arch/builds/aur/vittk/pkg/usr/lib/vittk cp: cannot stat `tclIndex': No such file or directory make: *** [install] Error 1

If X is running, and DISPLAY is set, then it builds fine.

Thanks.

tbabej commented 6 years ago

Migrated metadata:

Created: 2011-04-15T17:03:37Z
Modified: 2014-02-09T02:26:42Z
tbabej commented 6 years ago

Paul Beckingham on 2011-04-22T04:09:36Z says:

Added Steve as a watcher.

tbabej commented 6 years ago

Bryce Harrington on 2011-05-06T08:06:56Z says:

Perhaps it should use xvfb?

tbabej commented 6 years ago

steve rader on 2011-05-06T13:21:08Z says:

Perhaps it should use xvfb?

using tclsh instead of wish (to generate the tclIndex file) will be a more elegant solution.

tbabej commented 6 years ago

steve rader on 2011-06-10T14:24:38Z says:

This has been fixed.