Opened 14 years ago

Closed 14 years ago

#283 closed defect (fixed)

qt egg installation issue (installation-prefix)

Reported by: Mario Domenech Goulart Owned by: Mario Domenech Goulart
Priority: major Milestone:
Component: extensions Version: 4.5.x
Keywords: qt Cc:
Estimated difficulty:

Description

The qt egg installation fails when run by salmonella: http://tests.call-cc.org/2010/07/13/salmonella-report/qt.html

It seems that the qt egg use (installation-prefix) from setup-api and gets /root/salmonella/salmonella-repo, which is the value passed to chicken-install via the -prefix option. However, the chicken tools (csc, csi) are not under /root/salmonella/salmonella-repo/bin.

I don't know if it is a salmonella bug or a qt setup bug.

Change History (9)

comment:1 Changed 14 years ago by felix winkelmann

mario, can you try out r18846 (trunk of qt egg) in your salmonella setup? I'm not sure how to reproduce this properly.

comment:2 Changed 14 years ago by felix winkelmann

Owner: changed from felix winkelmann to Mario Domenech Goulart
Status: newassigned

(just to annoy you)

comment:3 Changed 14 years ago by Mario Domenech Goulart

Status: assignedaccepted

(just to annoy myself)

comment:4 Changed 14 years ago by Mario Domenech Goulart

I couldn't make the qt trunk code build either.

Running chicken-install qt.setup from the qt trunk dir gives me:

$ chicken-install qt.setup
retrieving ...
checking platform for `qt' ...
checking dependencies for `qt' ...
install order:
("qt")
installing qt: ...
changing current directory to /home/mario/src/chicken-eggs/release/4/qt/trunk
  /usr/local/chicken-4.5.0/bin/csi -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(extension-name-and-version '(\"qt\" \"\"))" /home/mario/src/chicken-eggs/release/4/qt/trunk/qt.setup

Warning: reference to possibly unbound identifier: c-string

Warning: reference to possibly unbound identifier: foreign-value

Error: module unresolved: main

	Call history:

	setup-api.scm: 726  ->string
	setup-api.scm: 727  ensure-string
	setup-api.scm: 726  ->string
	setup-api.scm: 798  user-install-setup
	setup-api.scm: 727  ensure-string
	setup-api.scm: 726  ->string
	setup-api.scm: 727  ensure-string
	setup-api.scm: 726  ->string                    <--

Error: shell command terminated with nonzero exit code
17920
"/usr/local/chicken-4.5.0/bin/csi -bnq -setup-mode -e \"(require-library setup-a...

I get the same result when using salmonella. Here's the salmonella configuration file I'm using:

(dont-ask #t)
(verbose #t)
(eggs (lambda () (list "qt")))
(env-vars "CHICKEN_REPOSITORY=/home/mario/salmonella-repo/lib/chicken/5 QTDIR=/usr")
(chicken-eggs-dir "/home/mario/src/chicken-eggs/release/4")

I run salmonella salmonella.conf. The code above is the salmonella.conf contents.

I'm using chicken 4.5.0. I have the following easyffi versions:

$ chicken-status easyffi
easyffi ...................................................... version: 1.99.1
easyffi-base ................................................. version: 1.99.1

Any hint?

comment:5 Changed 14 years ago by Mario Domenech Goulart

Forgot to mention that, to test the qt code from trunk with salmonella, I copied the trunk files to tags/0.91 by hand, so I can fool salmonella this way.

comment:6 Changed 14 years ago by felix winkelmann

Milestone: 4.6.0

comment:7 Changed 14 years ago by Mario Domenech Goulart

Testing trac after migration. Ignore this message.

comment:8 Changed 14 years ago by felix winkelmann

I fixed several errors in the setup and support script, please give it another try (a new version has been tagged, which is 0.93).

comment:9 Changed 14 years ago by Mario Domenech Goulart

Resolution: fixed
Status: acceptedclosed

Salmonella could install it: http://tests.call-cc.org/2010/08/11/salmonella-report/qt.html

I've installed it on my machine too and it seems to work fine (could run the egg-browser example)

Nice work. Thank you.

I'm closing this ticket.

Note: See TracTickets for help on using tickets.