Opened 18 years ago

Closed 18 years ago

#1894 closed defect (fixed)

Ruby mapscript fails to build

Reported by: unicoletti Owned by: unicoletti
Priority: high Milestone:
Component: MapScript Version: 4.10
Severity: normal Keywords:
Cc:

Description

Attemptin to build ruby mapscript fails:

swig -ruby -o mapscript_wrap.c ../mapscript.i
../mapscript.i:60: Warning(801): Wrong class name (corrected to `Intarray')
../mapscript.i:60: Warning(801): Wrong class name (corrected to `Intarray')
../../map.h:503: Warning(801): Wrong class name (corrected to `FontSetObj')
../../map.h:503: Warning(801): Wrong class name (corrected to `FontSetObj')
../../map.h:585: Warning(801): Wrong class name (corrected to `OutputFormatObj')
../../map.h:585: Warning(801): Wrong class name (corrected to `OutputFormatObj')
../../map.h:605: Warning(801): Wrong class name (corrected to `QueryMapObj')
../../map.h:605: Warning(801): Wrong class name (corrected to `QueryMapObj')
../../map.h:613: Warning(801): Wrong class name (corrected to `LabelObj')
../../map.h:613: Warning(801): Wrong class name (corrected to `LabelObj')
../../map.h:656: Warning(801): Wrong class name (corrected to `WebObj')
../../map.h:656: Warning(801): Wrong class name (corrected to `WebObj')
../../map.h:695: Warning(801): Wrong class name (corrected to `StyleObj')
../../map.h:695: Warning(801): Wrong class name (corrected to `StyleObj')
../../map.h:739: Warning(801): Wrong class name (corrected to `ClassObj')
../../map.h:739: Warning(801): Wrong class name (corrected to `ClassObj')
../../map.h:801: Warning(801): Wrong class name (corrected to `LabelCacheMemberObj')
../../map.h:801: Warning(801): Wrong class name (corrected to `LabelCacheMemberObj')
../../map.h:824: Warning(801): Wrong class name (corrected to
`MarkerCacheMemberObj')
../../map.h:824: Warning(801): Wrong class name (corrected to
`MarkerCacheMemberObj')
../../map.h:829: Warning(801): Wrong class name (corrected to `LabelCacheObj')
../../map.h:829: Warning(801): Wrong class name (corrected to `LabelCacheObj')
../../map.h:838: Warning(801): Wrong class name (corrected to
`ResultCacheMemberObj')
../../map.h:838: Warning(801): Wrong class name (corrected to
`ResultCacheMemberObj')
../../map.h:848: Warning(801): Wrong class name (corrected to `ResultCacheObj')
../../map.h:848: Warning(801): Wrong class name (corrected to `ResultCacheObj')
../../map.h:868: Warning(801): Wrong class name (corrected to `SymbolSetObj')
../../map.h:868: Warning(801): Wrong class name (corrected to `SymbolSetObj')
../../map.h:887: Warning(801): Wrong class name (corrected to `ReferenceMapObj')
../../map.h:887: Warning(801): Wrong class name (corrected to `ReferenceMapObj')
../../map.h:909: Warning(801): Wrong class name (corrected to `ScalebarObj')
../../map.h:909: Warning(801): Wrong class name (corrected to `ScalebarObj')
../../map.h:929: Warning(801): Wrong class name (corrected to `LegendObj')
../../map.h:929: Warning(801): Wrong class name (corrected to `LegendObj')
../../map.h:997: Warning(801): Wrong class name (corrected to `LayerObj')
../../map.h:997: Warning(801): Wrong class name (corrected to `LayerObj')
../../map.h:1145: Warning(801): Wrong class name (corrected to `MapObj')
../../map.h:1145: Warning(801): Wrong class name (corrected to `MapObj')
../../map.h:1267: Warning(801): Wrong class name (corrected to `ImageObj')
../../map.h:1267: Warning(801): Wrong class name (corrected to `ImageObj')
../../mapprimitive.h:63: Warning(801): Wrong class name (corrected to `RectObj')
../../mapprimitive.h:63: Warning(801): Wrong class name (corrected to `RectObj')
../../mapprimitive.h:74: Warning(801): Wrong class name (corrected to `PointObj')
../../mapprimitive.h:74: Warning(801): Wrong class name (corrected to `PointObj')
../../mapprimitive.h:83: Warning(801): Wrong class name (corrected to `LineObj')
../../mapprimitive.h:83: Warning(801): Wrong class name (corrected to `LineObj')
../../mapprimitive.h:94: Warning(801): Wrong class name (corrected to `ShapeObj')
../../mapprimitive.h:94: Warning(801): Wrong class name (corrected to `ShapeObj')
../../mapshape.h:155: Warning(801): Wrong class name (corrected to `ShapefileObj')
../../mapshape.h:155: Warning(801): Wrong class name (corrected to `ShapefileObj')
../../mapproject.h:62: Warning(801): Wrong class name (corrected to `ProjectionObj')
../../mapproject.h:62: Warning(801): Wrong class name (corrected to `ProjectionObj')
../../mapsymbol.h:69: Warning(801): Wrong class name (corrected to `ColorObj')
../../mapsymbol.h:69: Warning(801): Wrong class name (corrected to `ColorObj')
../../mapsymbol.h:92: Warning(801): Wrong class name (corrected to `SymbolObj')
../../mapsymbol.h:92: Warning(801): Wrong class name (corrected to `SymbolObj')
../../maperror.h:106: Warning(801): Wrong class name (corrected to `ErrorObj')
../../maperror.h:106: Warning(801): Wrong class name (corrected to `ErrorObj')
../../maphash.h:69: Warning(801): Wrong class name (corrected to `HashTableObj')
../../maphash.h:69: Warning(801): Wrong class name (corrected to `HashTableObj')
make: *** No rule to make target `ruby.h', needed by `mapscript_wrap.o'.  Stop.

Using ruby 1.8.4

Change History (2)

comment:1 by unicoletti, 18 years ago

Owner: changed from sdlime to unicoletti
Assigning to unicoletti

comment:2 by unicoletti, 18 years ago

Resolution: fixed
Status: newclosed
Fixed in cvs HEAD (it was a missing \n)
Note: See TracTickets for help on using tickets.