Opened 18 years ago

Closed 18 years ago

#1697 closed defect (fixed)

java/mapscript/Makefile.in typo (PROJ_LIBS / PROJ_LIB)

Reported by: havard.tveite@… Owned by: unicoletti
Priority: high Milestone:
Component: Build Problems Version: 4.8
Severity: normal Keywords:
Cc: sgillies@…

Description

mapscript/java/Makefile.in seems to have a typo.
This makes make test fail

First, PROJ_LIBS is set:
> # Proj.4 distribution (cartographic projection routines). Not required for
normal use. (EXPERIMENTAL)
> PROJ_INC= @PROJ_INC@
> PROJ_LIBS= @PROJ_LIBS@
> PROJ=     @PROJ_ENABLED@

Then, PROJ_LIB is used:
> # Link flags and shared libs only
> SUP_LIBS =  $(GD_LIB) $(PDF_LIB) $(TIFF_LIB) $(PROJ_LIB) \
>           $(JPEG_LIB) $(SDE_LIB) $(GDAL_LIB) $(MING_LIB) $(POSTGIS_LIB) \
>           $(MYGIS_LIB) $(CURL_LIB) $(ORACLESPATIAL_LIB) \
>           $(MPATROL_LIB) $(THREAD_LIB) $(XTRALIBS)

After I changed $(PROJ_LIB) to $(PROJ_LIBS) make test was OK.
The following is a patch that changes $(PROJ_LIB) to $(PROJ_LIBS)

*** Makefile.in.org	Fri Mar  3 14:24:47 2006
--- Makefile.in	Fri Mar  3 14:26:56 2006
***************
*** 165,171 ****
  	$(CURL_INC) $(MING_INC) $(ORACLESPATIAL_INC)
  
  # Link flags and shared libs only
! SUP_LIBS =  $(GD_LIB) $(PDF_LIB) $(TIFF_LIB) $(PROJ_LIB) \
            $(JPEG_LIB) $(SDE_LIB) $(GDAL_LIB) $(MING_LIB) $(POSTGIS_LIB) \
  	  $(MYGIS_LIB) $(CURL_LIB) $(ORACLESPATIAL_LIB) \
  	  $(MPATROL_LIB) $(THREAD_LIB) $(XTRALIBS)
--- 165,171 ----
  	$(CURL_INC) $(MING_INC) $(ORACLESPATIAL_INC)
  
  # Link flags and shared libs only
! SUP_LIBS =  $(GD_LIB) $(PDF_LIB) $(TIFF_LIB) $(PROJ_LIBS) \
            $(JPEG_LIB) $(SDE_LIB) $(GDAL_LIB) $(MING_LIB) $(POSTGIS_LIB) \
  	  $(MYGIS_LIB) $(CURL_LIB) $(ORACLESPATIAL_LIB) \
  	  $(MPATROL_LIB) $(THREAD_LIB) $(XTRALIBS)

Change History (2)

comment:1 by dmorissette, 18 years ago

Cc: sgillies@… dmorissette@… added; unicoletti@… removed
Owner: changed from mapserverbugs to unicoletti
Reassigned to Umberto and CC'd Sean.

comment:2 by unicoletti, 18 years ago

Resolution: fixed
Status: newclosed
Fixed. Thanks for the patch.
Note: See TracTickets for help on using tickets.