PDA

View Full Version : PCRE: Unexpected End of File?



drmacinyasha
05-11-2008, 09:33 PM
OK, so I was running the custombuild script, and everything was running find until I tried "./build all d", as the instructions say to do, and I got this:

[root@viperps custombuild]# ./build all d
File already exists: pcre-.tar.gz
MD5 Checksum on pcre-.tar.gz passed.
Found /usr/local/directadmin/custombuild/pcre-.tar.gz
Extracting ...

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
Done.
chmod: cannot access `pcre-': No such file or directory
./build: line 3578: cd: pcre-: No such file or directory
Configuring pcre-...
./build: line 3580: ./configure: is a directory
Done. Making pcre-...
Trying to make PCRE...
make: *** No targets specified and no makefile found. Stop.
[root@viperps custombuild]#

So, I tried "./build pcre", and here's the output of that:


[root@viperps custombuild]# ./build pcre
File already exists: pcre-.tar.gz
MD5 Checksum on pcre-.tar.gz passed.
Found /usr/local/directadmin/custombuild/pcre-.tar.gz
Extracting ...

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
Done.
chmod: cannot access `pcre-': No such file or directory
./build: line 3578: cd: pcre-: No such file or directory
Configuring pcre-...
./build: line 3580: ./configure: is a directory
Done. Making pcre-...
Trying to make PCRE...
make: *** No targets specified and no makefile found. Stop.

*** The make has failed, do you want to try to make again? (y,n):
n

[root@viperps custombuild]#

Does anyone have any ideas of what I might be missing? I realize that it might be as simple as a corrupt file, except it's saying that the MD5 passes...

jackc
05-11-2008, 11:50 PM
delete pcre-.tar.gz and rebuild

drmacinyasha
05-12-2008, 04:01 AM
Nope, still getting the error...

EDIT: Hmm, well, I just deleted the entire custombuild directory and .tar.gz file and started from scratch with it, and now it works.

Go figure...