Closed Bug 194541 Opened 22 years ago Closed 21 years ago

Win32 documentation says to run dot with Perl

Categories

(Bugzilla :: Documentation, defect)

2.17.3
x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: justdave, Assigned: jacob)

Details

4.3.1.3.2. System Calls

In order to get system calls to work on win32's perl, you need to tell the
windows shell what interpreter to use. This is done by changing the system
calls. You will need to search all of Bugzilla's code for system calls. To tell
perl your interpreter, it needs to be the first argument to the system call. For
example, you'll need to change:

system("$webdotbase","-Tpng","-o","$pngfilename","$filename");
          
with

system("C:\\perl\\bin\\perl",
"$webdotbase","-Tpng","-o","$pngfilename","$filename");
	
The grep command is very helpful in finding these system calls, assuming you
have the cygwin utilities.

It appears that the only system call remaining in the Bugzilla codebase is in
showdependencygraph.cgi. Not changing this file will only cause dependency
graphs to not function if the webdotbase paramater points to a local
installation of GraphViz.

====================

tcsh> file dot
dot:  ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped

dot is a binary executable, not a perl script.  This whole section can just go
away :-)
Checking in installation.sgml;
/cvsroot/mozilla/webtools/bugzilla/docs/sgml/installation.sgml,v  <-- 
installation.sgml
new revision: 1.38; previous revision: 1.37
done
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 2.18
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.