Last modified: 2011-09-16 08:12:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32913, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30913 - I'm not able to compile the file texvc.bc in Windows server 2008 R2
I'm not able to compile the file texvc.bc in Windows server 2008 R2
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
PC other
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-15 14:37 UTC by roberto.morelli
Modified: 2011-09-16 08:12 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description roberto.morelli 2011-09-15 14:37:17 UTC
Hello,

I need for your help, Please !
I'm not able to compile the texvc.bc file in the Windows Server 2008 R2.

At DOS prompt level I run the following command with this error:

C:\inetpub\wwwroot\Mediawiki\math>mingw32-make texvc.bc
ocamlc -c texvc.ml
File "texvc.ml", line 26, characters 1-14:
Error: This function is applied to too many arguments,
maybe you forgot a `;'
mingw32-make: *** [texvc.cmo] Error 2

The software I use are:
MediaWiki version 1.17
IIS version 7.0

Thanks in advance for any suggestion.
Best Regards,
Roberto
Comment 1 Brion Vibber 2011-09-15 19:12:30 UTC
Works for me on Windows 7 Home Pro (32-bit):

C:\Users\brion\Downloads\mediawiki-1.17.0\mediawiki-1.17.0\math>mingw32-make texvc.bc
ocamlc -c util.ml
ocamlc -c render_info.mli
ocamlc -c tex.mli
ocamlyacc parser.mly
9 shift/reduce conflicts.
ocamlc -c parser.mli
ocamlc -c parser.ml
ocamlc -c html.mli
ocamlc -c html.ml
ocamlc -c mathml.mli
ocamlc -c mathml.ml
ocamlc -c texutil.mli
ocamlc -c texutil.ml
ocamllex lexer.mll
273 states, 4922 transitions, table size 21326 bytes
ocamlc -c lexer.ml
ocamlc -c render.ml
ocamlc -c texvc.ml
ocamlc -o texvc.bc unix.cma util.cmo parser.cmo html.cmo mathml.cmo texutil.cmo
lexer.cmo render.cmo texvc.cmo
rm parser.ml lexer.ml


ocamlc -version reports 3.11.0, installed via http://caml.inria.fr/pub/distrib/ocaml-3.11/ocaml-3.11.0-win-mgw.exe

I installed a fresh mingw32 (dated 2011-08-02) as well to get mingw32-make.exe; installed to c:\mingw32 with the C compiler, msys base system, and dev bits. Added c:\mingw32\bin to PATH manually in a CMD shell.
Comment 2 roberto.morelli 2011-09-16 08:12:33 UTC
Hello,

Thanks for your help, following your instruction I solved my problem.
I just installed a fresh mingw32 with C compiler, msys base system, and dev bits and everything now works well.

Thank you
Best regards,
Roberto

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links