Menu

jsapi.h

Help
fanifeey
2006-03-26
2013-05-30
  • fanifeey

    fanifeey - 2006-03-26

    Hi,
    ich habe unter SUSE 10.0 libjs, libjs.devel und libjs-tools installiert.
    nach ./configure --enable-javascript zeigt er mir:
    checking for mysql_init in -lmysqlclient... yes
    checking for jsapi.h... no
    checking alternative libjs header location... not found, giving up
    checking for magic.h... yes
    checking for id3/tag.h... yes
    checking for id3/misc_support.h... yes
    checking for extractor.h... yes
    checking for libexif/exif-data.h... yes
    checking for libexif/exif-content.h... yes
    checking exif_entry_get_value signature... requires 3 arguments
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating doc/Makefile
    config.status: creating config/Makefile
    config.status: creating scripts/Makefile
    config.status: creating scripts/js/Makefile
    config.status: creating build/Makefile
    config.status: creating web/Makefile
    config.status: creating web/icons/Makefile
    config.status: executing depfiles commands

    ======== CONFIGURATION SUMMARY =========
      sqlite3      : yes
      mysql        : yes
      javascript   : missing
      libmagic     : yes
      id3lib       : yes
      libextractor : yes
      libexif      : yes

    wo um Gottes Willen sucht er dieses jsapi.h und wie zeige ich ihm wo es steht

     
    • Jin

      Jin - 2006-03-29

      mach mal rpm -ql libjs.devel

      wo hat er das zeug hingepackt?
      auf meiner Fedora installation ist es hier:
      /usr/include/jsapi.h
      /usr/include/jsautocfg.h
      /usr/include/jscompat.h
      /usr/include/jsdbgapi.h
      /usr/include/jslong.h
      /usr/include/jsosdep.h
      /usr/include/jsotypes.h
      /usr/include/jspubtd.h
      /usr/include/jstypes.h
      /usr/include/jsxdrapi.h
      /usr/lib/libjs.a
      /usr/lib/libjs.so

      das configure script schaut in 2 positionen nach:
      in /usr/include und fuer debian in /usr/include/smjs

      natuerlich ist es moeglich, dass die headers bei dir irgendwo anders sind, dann gehts im moment nicht.

      wenn du mir sagst wo sich die jsapi.h auf deinem system befindet, koennte ich vielleicht ein patch vom configure.ac fuer dich machen

      ...also - wo ist das file bei dir?

       
    • Jin

      Jin - 2006-04-19

      ok, I got the information that on suse the javascript headers are located in
      /usr/include/js

      our configure script does not look there. I suggest to make a symlink /usr/include/smjs -> /usr/include/js

      then the header will be found.

      I will adapt the configure script for the next release to fix this problem.

       

Log in to post a comment.