Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#5092 closed defect (wontfix)

The man pages are placed in a wrong directory

Reported by: zirneklitis Owned by: warmerdam
Priority: high Milestone:
Component: default Version: svn-trunk
Severity: normal Keywords: man, mandir
Cc:

Description

There is a strange line in the file 'configure' from source gdal-1.10.0.tar.gz.

The line number 27833:

mandir='${prefix}/man'

This line causes the man pages to be placed in a wrong directory (Fedora 18x64). Removing the line fixes the problem.

Change History (3)

comment:1 by zirneklitis, 11 years ago

Version: 1.10.0svn-trunk

The same problem in trunk-r26048. Why to place the man pages in a wrong place? Look in "configure.in":

dnl ---------------------------------------------------------------------------
dnl By default mandir is $datarootdir/man which would be
dnl /usr/local/share/gdal/man but we want man pages in /usr/local/man. 
dnl ---------------------------------------------------------------------------
mandir='${prefix}/man'

comment:2 by warmerdam, 11 years ago

Resolution: wontfix
Status: newclosed

This was a deliberate decision as noted in the comments - likely by me.

You can always work around it by doing "make install-man INST_MAN=<whereyouwantthem>" after configuring.

comment:3 by jacknagel, 11 years ago

Well this is somewhat silly.

It causes the configure script to throw away the value passed in with --mandir=.... It also means that

$ ./configure --help | grep mandir

--mandir=DIR man documentation [DATAROOTDIR/man]

is incorrect.

It would make packaging tasks easier if it just respected --mandir like everything else that uses autotools.

Note: See TracTickets for help on using tickets.