On Fedora 17 jasmine-webkit-specrunner doesn't compile #159

Open
opened 2012-08-07 15:55:26 +00:00 by seamus-oconnor · 4 comments
seamus-oconnor commented 2012-08-07 15:55:26 +00:00 (Migrated from github.com)

Fedora 17 changed where getopt lives - it is no longer in cstdlib. I had to edit specrunner.cpp manually and add #include "getopt.h" to get it to compile. There were no error messages when compiling via gem install jasmine-headless-webkit which made this very hard to track down.

Also the lib/headless/runner.rb file could benefit from showing a warning that the system call out to jasmine-webkit-specrunner failed. When running jasmine-headless-webkit in my project it would just return back to bash with no notice of why it wasn't working.

Fedora 17 changed where getopt lives - it is no longer in cstdlib. I had to edit specrunner.cpp manually and add #include "getopt.h" to get it to compile. There were no error messages when compiling via `gem install jasmine-headless-webkit` which made this very hard to track down. Also the lib/headless/runner.rb file could benefit from showing a warning that the system call out to jasmine-webkit-specrunner failed. When running jasmine-headless-webkit in my project it would just return back to bash with no notice of why it wasn't working.
bradfordcp commented 2012-08-10 04:41:40 +00:00 (Migrated from github.com)

Adjusting specrunner.cpp allows compilation to complete. Thanks!

Adjusting specrunner.cpp allows compilation to complete. Thanks!
kelonye commented 2012-10-08 21:51:40 +00:00 (Migrated from github.com)

Thanks!, just lost 2 hours.

Thanks!, just lost 2 hours.
ketiko commented 2013-06-06 17:12:44 +00:00 (Migrated from github.com)

Just what I was looking for!

Just what I was looking for!
kelonye commented 2013-06-06 17:27:24 +00:00 (Migrated from github.com)

use mocha tehe

use mocha tehe
Sign in to join this conversation.
No Label
bug
doc
feature
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: github-migration/jasmine-headless-webkit#159
No description provided.