Re: Make errors
Nguyen, Yoom <ynguyen <at> galco.com>
2012-04-17 20:43:48 GMT
I am run RedHat ES 6.1 64-bits.
I will try the version that you suggested. So far, the make are failed after I ran the ./configure
I will report back.
Thank you
Ynguyen
-----Original Message-----
From: Chris Liddell [mailto:chris.liddell <at> artifex.com]
Sent: Tuesday, April 17, 2012 2:42 AM
To: Nguyen, Yoom
Cc: gs-devel <at> ghostscript.com
Subject: Re: [gs-devel] Make errors
Get the latest (9.05) Ghostscript here:
http://www.ghostscript.com/download/gsdnld.html
When you uncompress it, make sure that in the ghostcript-9.05 directory there is a file called Makefile.in.
Run the configure script. If that gives you no errors, run make.
What platform are running?
Chris
On 17/04/12 03:58, Nguyen, Yoom wrote:
> This time I down load from GPL Ghostscript 9.02.
> After ran ./configure then
> make
>
> I am still having problem. Please see below.
>
> It seems the make can not find the Makefile -- How to tell the make where the Makefile is ????
>
> configure: creating ./config.status
> config.status: error: cannot find input file: `Makefile.in'
> [root <at> app1 ghostscript-9.02]# make
> make: *** No targets specified and no makefile found. Stop.
>
>
> Here are some of the results from ./configure
>
> checking for uint... yes
> checking for ulong... yes
> checking for longlong... no
> checking for ulonglong... no
> checking for ssize_t... yes
> checking for vprintf... yes
> checking for _doprnt... no
> checking for mkstemp... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating src/Makefile
> config.status: creating src/appl/Makefile
> config.status: creating src/libjasper/Makefile
> config.status: creating src/libjasper/base/Makefile
> config.status: creating src/libjasper/bmp/Makefile
> config.status: creating src/libjasper/include/Makefile
> config.status: creating src/libjasper/include/jasper/Makefile
> config.status: creating src/libjasper/jp2/Makefile
> config.status: creating src/libjasper/jpc/Makefile
> config.status: creating src/libjasper/jpg/Makefile
> config.status: creating src/libjasper/mif/Makefile
> config.status: creating src/libjasper/pgx/Makefile
> config.status: creating src/libjasper/pnm/Makefile
> config.status: creating src/libjasper/ras/Makefile
> config.status: creating src/msvc/Makefile
> config.status: creating jasper.spec
> config.status: creating src/libjasper/include/jasper/jas_config_ac.h
> config.status: src/libjasper/include/jasper/jas_config_ac.h is
> unchanged
> config.status: executing depfiles commands
>
> Continuing with Ghostscript configuration...
> checking for GTK+ 2.x... no
> checking for X... no
> checking for mkstemp... yes
> checking for hypot... yes
> checking for fopen64... yes
> checking for mkstemp64... yes
> checking for setlocale... yes
> checking whether gcc needs -traditional... no checking for pid_t...
> yes checking vfork.h usability... no checking vfork.h presence... no
> checking for vfork.h... no checking for fork... yes checking for
> vfork... yes checking for working fork... yes checking for working
> vfork... (cached) yes checking for stdlib.h... (cached) yes checking
> for GNU libc compatible malloc... yes checking for working memcmp...
> yes checking return type of signal handlers... void checking whether
> lstat correctly handles trailing slash... no checking whether stat
> accepts an empty string... no checking for vprintf... yes checking for
> _doprnt... no checking for bzero... yes checking for dup2... yes
> checking for floor... yes checking for gettimeofday... yes checking
> for memchr... yes checking for memmove... yes checking for memset...
> yes checking for mkdir... yes checking for mkfifo... yes checking for
> modf... yes checking for pow... yes checking for putenv... yes
> checking for rint... yes checking for setenv... yes checking for
> sqrt... yes checking for strchr... yes checking for strerror... yes
> checking for strrchr... yes checking for strspn... yes checking for
> strstr... yes
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: gs-devel-bounces <at> ghostscript.com
> [mailto:gs-devel-bounces <at> ghostscript.com] On Behalf Of Nguyen, Yoom
> Sent: Monday, April 16, 2012 10:30 PM
> To: Chris Liddell
> Cc: gs-devel <at> ghostscript.com
> Subject: Re: [gs-devel] Make errors
>
> I did run the .configure first, then the make but failed as indicated below.
>
> What Ghostscript does this group support? I thought this is the only Ghostscript
> Available. Whatever one work.
>
> Ynguyen.
>
>
> -----Original Message-----
> From: Chris Liddell [mailto:chris.liddell <at> artifex.com]
> Sent: Monday, April 16, 2012 5:52 PM
> To: Nguyen, Yoom
> Cc: gs-devel <at> ghostscript.com
> Subject: Re: [gs-devel] Make errors
>
> Makefile.in isn't the Makefile, it's a makefile template which the configure script uses to create a Makefile.
>
> You have to run the configure script before you try to run make.
>
> BTW, GNU Ghostscript is a fork which we don't actually support.
>
> Chris
>
>
> On 16 April 2012 22:05, Nguyen, Yoom <ynguyen <at> galco.com> wrote:
>> No quite sure what to modify.
>>
>>
>>
>> I am trying to build gnu-ghostscript-9.04.1 from source.
>>
>>
>>
>> 1. First attempt failed with the following error:
>>
>> [root <at> app1 gnu-ghostscript-9.04.1]# make
>>
>> make: *** No targets specified and no makefile found. Stop.
>>
>>
>>
>> 2. Found the Makefile.in and copy this file to a Makefile
>>
>> 3. Then run the make again. Here is the new errors
>>
>> 4.
>>
>> [root <at> app1 gnu-ghostscript-9.04.1]# make
>>
>> Makefile:188: *** missing separator. Stop.
>>
>>
>>
>>
>>
>> I am not sure what to modify.
>>
>> Our system is currently using as follow:
>> OS is Redhat 6.1 64-bits
>>
>> Make GNU Make 3.81
>> gcc version 4.4.5 20110214 (Red Hat 4.4.5-6) (GCC)
>>
>>
>>
>> Any assistance will be appreciate it.
>>
>>
>>
>> Thank you.
>>
>>
>>
>> ynguyen
>>
>>
>> _______________________________________________
>> gs-devel mailing list
>> gs-devel <at> ghostscript.com
>> http://ghostscript.com/cgi-bin/mailman/listinfo/gs-devel
> _______________________________________________
> gs-devel mailing list
> gs-devel <at> ghostscript.com
> http://ghostscript.com/cgi-bin/mailman/listinfo/gs-devel