Ticket #1 (closed defect: fixed)

Opened 4 years ago

Last modified 2 years ago

Unable to Build

Reported by: crschmidt Owned by: somebody
Priority: blocker Version:
Keywords: Cc:
Triage Stage: Unreviewed State of Approval: Unnecessary
Attached Patches: None Complexity: Unknown
Compatibility: Unknown Specification: Unnecessary

Description

Building from both SVN and Stable (0.6):

crschmidt@bia:~/tinyows$ ./configure --enable-api
checking for xml2-config... yes
checking for pg_config... yes
checking for ctags... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/ows_define.h
crschmidt@bia:~/tinyows$ make
ows_api.h generation
ctags: unrecognized option `--c-kinds=f'
        Try `ctags --help' for a complete list of options.
make: *** [api] Error 1

Change History

  Changed 4 years ago by crschmidt

This is on Debian Etch

  Changed 4 years ago by crschmidt

ctags --help says:

Usage: ctags [options] [[regex-option ...] file-name] ...

These are the options accepted by ctags.
You may use unambiguous abbreviations for the long option names.
A - as file name means read names from stdin (one per line).


-a, --append
        Append tag entries to existing tags file.
--packages-only
        For Ada files, only generate tags for packages .
-B, --backward-search
        Write the search commands for the tag entries using '?', the
        backward-search command instead of '/', the forward-search command.
--declarations
	In C and derived languages, create tags for function declarations,
	and create tags for extern variables if --globals is used.
-d, --defines
        Create tag entries for C #define constants and enum constants, too.
--globals
	Create tag entries for global variables in some languages.
--members
	Create tag entries for member variables in C and derived languages.
-r /REGEXP/, --regex=/REGEXP/ or --regex=@regexfile
        Make a tag for each line matching pattern REGEXP in the following
 	files.  {LANGUAGE}/REGEXP/ uses REGEXP for LANGUAGE files only.
	regexfile is a file containing one REGEXP per line.
	REGEXP is anchored (as if preceded by ^).
	The form /REGEXP/NAME/ creates a named tag.
	For example Tcl named tags can be created with:
	--regex="/proc[ \t]+\([^ \t]+\)/\1/."
-c /REGEXP/, --ignore-case-regex=/REGEXP/ or --ignore-case-regex=@regexfile
        Like -r, --regex but ignore case when matching expressions.
-R, --no-regex
        Don't create tags from regexps for the following files.
-o FILE, --output=FILE
        Write the tags to FILE.
-I, --ignore-indentation
        Don't rely on indentation quite as much as normal.  Currently,
        this means not to assume that a closing brace in the first
        column is the final brace of a function or structure
        definition in C and C++.
-t, --typedefs
        Generate tag entries for C and Ada typedefs.
-T, --typedefs-and-c++
        Generate tag entries for C typedefs, C struct/enum/union tags,
        and C++ member functions.
-u, --update
        Update the tag entries for the given files, leaving tag
        entries for other files in place.  Currently, this is
        implemented by deleting the existing entries for the given
        files and then rewriting the new entries at the end of the
        tags file.  It is often faster to simply rebuild the entire
        tag file than to use this.
-v, --vgrind
        Generates an index of items intended for human consumption,
        similar to the output of vgrind.  The index is sorted, and
        gives the page number of each item.
-w, --no-warn
        Suppress warning messages about entries defined in multiple
        files.
-x, --cxref
        Like --vgrind, but in the style of cxref, rather than vgrind.
        The output uses line numbers instead of page numbers, but
        beyond that the differences are cosmetic; try both to see
        which you like.
-V, --version
        Print the version of the program.
-h, --help
        Print this help message.

These are the currently supported languages, along with the
default file names and dot suffixes:
  ada        .ads .adb .ada
  asm        .a .asm .def .inc .ins .s .sa .S .src
  c          .c .h
  c++        .C .c++ .cc .cpp .cxx .H .h++ .hh .hpp .hxx .M .pdb
  c*         .cs .hs
  cobol      .COB .cob
  erlang     .erl .hrl
  fortran    .F .f .f90 .for
  java       .java
  lisp       .cl .clisp .el .l .lisp .LSP .lsp .ml
  makefile   Makefile makefile GNUMakefile Makefile.in Makefile.am
  pascal     .p .pas
  perl       .pl .pm
  postscript .ps .psw
  proc       .lm .m .pc
  prolog     .prolog
  python     .py
  scheme     .oak .sch .scheme .SCM .scm .SM .sm .ss .t
  tex        .bib .clo .cls .ltx .sty .TeX .tex
  texinfo    .texi .texinfo .txi
  yacc       .y .y++ .ym .yxx .yy
  auto      
  none      
Where `auto' means use default language for files based on file
name suffix, and `none' means only do regexp processing on files.
If no language is specified and no matching suffix is found,
the first line of the file is read for a sharp-bang (#!) sequence
followed by the name of an interpreter.  If no such sequence is found,
Fortran is tried first; if no tags are found, C is tried next.
When parsing any C file, a "class" keyword switches to C++.
Compressed files are supported using gzip and bzip2.

Report bugs to bug-gnu-emacs@gnu.org

  Changed 4 years ago by crschmidt

If I remove the flag, the ows_api.h file is not valid:

/* This file is generated by Makefile, don't edit */
int main (int argc, char *argv[]);
void array_add (array * a, buffer * key, buffer * /
void array_flush (const array * a, FILE * output);
void array_free (array * a);
buffer *array_get (const array * a, const char *ke/

follow-up: ↓ 5   Changed 4 years ago by crschmidt

For the record, the .foo.c file looks fine, so the ctags is definitely the problem.

in reply to: ↑ 4 ; follow-up: ↓ 6   Changed 4 years ago by ol

Replying to crschmidt:

For the record, the .foo.c file looks fine, so the ctags is definitely the problem.

Indeed it is ! On Etch there is a ctags binary who's not the same than exuberant-ctags,

sudo apt-get install exuberant-ctag make

and it should fix the problem ! I will see if there's a way to detect it on configure step,

HTH,

in reply to: ↑ 5   Changed 4 years ago by ol

  • status changed from new to closed
  • resolution set to fixed

Replying to ol:

I will see if there's a way to detect it on configure step,

Commited,

  Changed 2 years ago by weddingdress

homecoming dresses homecoming dresses prom dress prom dresses prom dresses and wedding dress wedding dresses bridal gown discount wedding dresses quinceanera dress quinceanera dresses sweet dress sweet 16 dresses quinceanera gowns and prom dresses,wedding dresses wedding dresses wedding dress wedding dresses for wedding pary maternity wedding dresses,bridesmaid dress bridesmaid dress bridesmaid bridesmaid dresses dress prom dresses gowns prom gowns dresses and oil paintings oil painting oil painting oil paintings oil paintings wedding dresses wedding dresses and prom dress prom dresses prom prom dresses

Note: See TracTickets for help on using tickets.