IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34965


Ignore:
Timestamp:
Jan 18, 2013, 6:12:41 AM (14 years ago)
Author:
eugene
Message:

add ohana/dvo libs and include flags to dvograbber build; fix sprintf errors

Location:
branches/eam_branches/ipp-20121219/ippToPsps
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20121219/ippToPsps/configure.ac

    r34960 r34965  
    3636echo "IPPTOPSPS_LIBS: $IPPTOPSPS_LIBS"
    3737
     38OHANA_CFLAGS="`ohana-config --cflags`"
     39OHANA_LIBS="`ohana-config --libs` -lX11"
     40
    3841IPP_VERSION
    3942
  • branches/eam_branches/ipp-20121219/ippToPsps/src/Dvo.c

    r34811 r34965  
    195195        argv[i] = (char*)calloc(200, sizeof(char));
    196196
    197     sprintf(argv[0], "nothing");
    198     sprintf(argv[1], "-D");
    199     sprintf(argv[2], "CATDIR");
    200     sprintf(argv[3], dvoDatabase);
     197    snprintf(argv[0], 200, "nothing");
     198    snprintf(argv[1], 200, "-D");
     199    snprintf(argv[2], 200, "CATDIR");
     200    snprintf(argv[3], 200, "%s", dvoDatabase);
    201201
    202202    this->dvoConfig = dvoConfigRead(&argc, argv);
  • branches/eam_branches/ipp-20121219/ippToPsps/src/Makefile.am

    r32009 r34965  
    2525
    2626# DVO
    27 dvograbber_CFLAGS = $(IPPTOPSPS_CFLAGS) $(PSMODULE_CFLAGS) $(PSLIB_CFLAGS) -I/usr/include/libxml2
    28 dvograbber_LDFLAGS = $(IPPTOPSPS_LIBS) $(PSMODULE_LIBS) $(PSLIB_LIBS) -lxml2
     27dvograbber_CFLAGS = $(IPPTOPSPS_CFLAGS) $(PSMODULE_CFLAGS) $(PSLIB_CFLAGS) $(OHANA_CFLAGS) -I/usr/include/libxml2
     28dvograbber_LDFLAGS = $(IPPTOPSPS_LIBS) $(PSMODULE_LIBS) $(PSLIB_LIBS) $(OHANA_LIBS) -lxml2 -lkapa -ldvo -lFITS -lohana
    2929dvograbber_SOURCES = \
    3030        Dvo.c \
Note: See TracChangeset for help on using the changeset viewer.