IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#385 closed enhancement (fixed)

changes to build scripts / extraneous build files

Reported by: jhoblitt Owned by: robert.desonia@…
Priority: highest Milestone:
Component: sys Version: unspecified
Severity: minor Keywords:
Cc:

Description

configure.ac does not require a specific version or check to see if it's running
in the proper directory, nor is automake's maintainer mode enabled.
Additionaly, there is no autogen.sh as is now the standard for
Gnomne/freedesktop.org projects and one of our build tools require it. This
file would act as a replacement for "Makefile.cvs" but there is no reason not to
keep both files around for the time being.

There are currently several autogenerated files floating around in CVS
(install-sh, config.guess, etc.) that can (should) be removed.

Attachments (1)

pslib-0.6-build_tidy.patch (299.4 KB ) - added by jhoblitt 21 years ago.
patch to add autogen.sh, tidy configure.ac, and remove unneeded files

Download all attachments as: .zip

Change History (16)

by jhoblitt, 21 years ago

Attachment: pslib-0.6-build_tidy.patch added

patch to add autogen.sh, tidy configure.ac, and remove unneeded files

comment:1 by robert.desonia@…, 21 years ago

Resolution: fixed
Status: newclosed

applied patch, verified things work (just had to modify Makefile.cvs to have
automake install the deleted files) and checked it into cvs HEAD.

comment:2 by jhoblitt, 21 years ago

Resolution: fixed
Status: closedreopened

I don't think that autogen.sh got checked in.

comment:3 by robert.desonia@…, 21 years ago

Status: reopenedassigned

I checked it in, but it doesn't work on my machine (complains about my aclocal
version being not 1.6 -- it is 1.9.3).

comment:4 by jhoblitt, 21 years ago

It's safe to remove the revsion req. as autoconf is now checking the automake
revision. That was in there to make sur automake and aclocal would also be at
the same revision.

Just remove the '-1.6' suffix from aclocal and automake.

comment:5 by robert.desonia@…, 21 years ago

Resolution: fixed
Status: assignedclosed

done.

comment:6 by jhoblitt, 21 years ago

confirmed. Thanks.

comment:7 by jhoblitt, 21 years ago

Resolution: fixed
Status: closedreopened

Line 8 of the configure.ac was changed from

AM_CONFIG_HEADER(src/config.h)

to

AC_CONFIG_HEADERS([src/config.h])

which was not part of the attached patch and has caused a build error on at
least one host. What was the reason for this change and is there any reason
that it can't be reverted?

comment:8 by jhoblitt, 21 years ago

I've traced the build error to just automake 1.6 requiring AM_CONFIG_HEADER.
automake 1.7, 1.8, & 1.9 don't complain that AM_CONFIG_HEADER is missing but
never the less it should be used in place of AC_CONFIG_HEADERS when automake is
being used.

comment:9 by jhoblitt, 21 years ago

I just noticed that autogen.sh isn't executable by default. This is really
annoying. Can you run chmod a+x autogen.sh,v on the script in the repository?

comment:10 by jhoblitt, 21 years ago

Priority: highhighest
Severity: normalenhancement

comment:11 by robert.desonia@…, 21 years ago

Resolution: fixed
Status: reopenedclosed

Change AC_CONFIG_HEADERS to AC_CONFIG_HEADER in configure.ac
chmod'ed autogen.sh,v in the cvs tree.

  • chmoding the file and checking it in didn't work (CVS didn't want to set

the executable flag, I guess).

-rdd

comment:12 by jhoblitt, 21 years ago

Resolution: fixed
Status: closedreopened

automake 1.6 is still broken as it needs AM_CONFIG_HEADER, not AC_CONFIG_HEADERS
or AC_CONFIG_HEADER. Please change it to AM_CONFIG_HEADER or explain to me why
you want to use AM_CONFIG_HEADER* in it's place.

comment:13 by jhoblitt, 21 years ago

ugh, AM_CONFIG_HEADER* was a typo... AC_CONFIG_HEADER*

comment:14 by robert.desonia@…, 21 years ago

Resolution: fixed
Status: reopenedclosed

changed AC_CONFIG_HEADER to AM_CONFIG_HEADER.

comment:15 by jhoblitt, 21 years ago

automake 1.6 is now working again.

Note: See TracTickets for help on using tickets.