Compile mkclean on ubuntu 16.04

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm struggling to compile mkclean on Ubuntu 16.04.



I download the file and extract it but when I run ./configure I get this:



./configure: 2: ./configure: %%BEGIN: not found
./configure: 3: ./configure: SCRIPT: not found
./configure: 4: ./configure: %%END: not found
make: *** corec/tools/coremake: No such file or directory. Stop.
mv: cannot stat 'corec/tools/coremake/coremake': No such file or directory
./configure: 1: ./configure: corec/tools/coremake/system_output.sh: not found
Running ./coremake
./configure: 11: ./configure: ./coremake: not found
Now you can run make -C %(PROJECT_NAME) or gmake -C %(PROJECT_NAME)


Any help? I can only find old results and they don't work







share|improve this question















  • 1




    @RuiFRibeiro if you mean i'm inside the extracted directory yes I am..
    – Freedo
    Jun 28 at 7:51










  • Yes it is installed
    – Freedo
    Jun 28 at 7:55














up vote
0
down vote

favorite












I'm struggling to compile mkclean on Ubuntu 16.04.



I download the file and extract it but when I run ./configure I get this:



./configure: 2: ./configure: %%BEGIN: not found
./configure: 3: ./configure: SCRIPT: not found
./configure: 4: ./configure: %%END: not found
make: *** corec/tools/coremake: No such file or directory. Stop.
mv: cannot stat 'corec/tools/coremake/coremake': No such file or directory
./configure: 1: ./configure: corec/tools/coremake/system_output.sh: not found
Running ./coremake
./configure: 11: ./configure: ./coremake: not found
Now you can run make -C %(PROJECT_NAME) or gmake -C %(PROJECT_NAME)


Any help? I can only find old results and they don't work







share|improve this question















  • 1




    @RuiFRibeiro if you mean i'm inside the extracted directory yes I am..
    – Freedo
    Jun 28 at 7:51










  • Yes it is installed
    – Freedo
    Jun 28 at 7:55












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm struggling to compile mkclean on Ubuntu 16.04.



I download the file and extract it but when I run ./configure I get this:



./configure: 2: ./configure: %%BEGIN: not found
./configure: 3: ./configure: SCRIPT: not found
./configure: 4: ./configure: %%END: not found
make: *** corec/tools/coremake: No such file or directory. Stop.
mv: cannot stat 'corec/tools/coremake/coremake': No such file or directory
./configure: 1: ./configure: corec/tools/coremake/system_output.sh: not found
Running ./coremake
./configure: 11: ./configure: ./coremake: not found
Now you can run make -C %(PROJECT_NAME) or gmake -C %(PROJECT_NAME)


Any help? I can only find old results and they don't work







share|improve this question











I'm struggling to compile mkclean on Ubuntu 16.04.



I download the file and extract it but when I run ./configure I get this:



./configure: 2: ./configure: %%BEGIN: not found
./configure: 3: ./configure: SCRIPT: not found
./configure: 4: ./configure: %%END: not found
make: *** corec/tools/coremake: No such file or directory. Stop.
mv: cannot stat 'corec/tools/coremake/coremake': No such file or directory
./configure: 1: ./configure: corec/tools/coremake/system_output.sh: not found
Running ./coremake
./configure: 11: ./configure: ./coremake: not found
Now you can run make -C %(PROJECT_NAME) or gmake -C %(PROJECT_NAME)


Any help? I can only find old results and they don't work









share|improve this question










share|improve this question




share|improve this question









asked Jun 28 at 7:37









Freedo

402417




402417







  • 1




    @RuiFRibeiro if you mean i'm inside the extracted directory yes I am..
    – Freedo
    Jun 28 at 7:51










  • Yes it is installed
    – Freedo
    Jun 28 at 7:55












  • 1




    @RuiFRibeiro if you mean i'm inside the extracted directory yes I am..
    – Freedo
    Jun 28 at 7:51










  • Yes it is installed
    – Freedo
    Jun 28 at 7:55







1




1




@RuiFRibeiro if you mean i'm inside the extracted directory yes I am..
– Freedo
Jun 28 at 7:51




@RuiFRibeiro if you mean i'm inside the extracted directory yes I am..
– Freedo
Jun 28 at 7:51












Yes it is installed
– Freedo
Jun 28 at 7:55




Yes it is installed
– Freedo
Jun 28 at 7:55










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










The configure script needs to be processed before it can be used. You should run



./mkclean/configure.compiled


from the parent directory instead, after converting its end-of-line characters (using fromdos from the tofrodos package):



fromdos mkclean/configure.compiled


The full build sequence, starting with the downloaded source code, is:



tar xf mkclean-0.8.10.tar.bz2
cd mkclean-0.8.10
fromdos mkclean/configure.compiled
./mkclean/configure.compiled
make -C mkclean


This gives me a release/gcc_linux_x64/mkclean binary.






share|improve this answer























  • I had to install package tofrodos for your 2nd command to work. I'm still getting the same error message after running your 2nd command and 1st
    – Freedo
    Jun 28 at 8:14










  • Running ./mkclean/configure.compiled still produces errors?
    – Stephen Kitt
    Jun 28 at 8:25










  • now it worked. I still cant use mkclean from terminal, any tip in how to achieve that? Thanks so much by the way!
    – Freedo
    Jun 28 at 8:30










  • From the same directory, ./release/gcc_linux_x64/mkclean works for me. make -C mkclean install (as root) would install the program in /usr/local/bin, so you’d be able to run it without specifying its path (if /usr/local/bin is on your PATH).
    – Stephen Kitt
    Jun 28 at 8:37










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f452371%2fcompile-mkclean-on-ubuntu-16-04%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










The configure script needs to be processed before it can be used. You should run



./mkclean/configure.compiled


from the parent directory instead, after converting its end-of-line characters (using fromdos from the tofrodos package):



fromdos mkclean/configure.compiled


The full build sequence, starting with the downloaded source code, is:



tar xf mkclean-0.8.10.tar.bz2
cd mkclean-0.8.10
fromdos mkclean/configure.compiled
./mkclean/configure.compiled
make -C mkclean


This gives me a release/gcc_linux_x64/mkclean binary.






share|improve this answer























  • I had to install package tofrodos for your 2nd command to work. I'm still getting the same error message after running your 2nd command and 1st
    – Freedo
    Jun 28 at 8:14










  • Running ./mkclean/configure.compiled still produces errors?
    – Stephen Kitt
    Jun 28 at 8:25










  • now it worked. I still cant use mkclean from terminal, any tip in how to achieve that? Thanks so much by the way!
    – Freedo
    Jun 28 at 8:30










  • From the same directory, ./release/gcc_linux_x64/mkclean works for me. make -C mkclean install (as root) would install the program in /usr/local/bin, so you’d be able to run it without specifying its path (if /usr/local/bin is on your PATH).
    – Stephen Kitt
    Jun 28 at 8:37














up vote
1
down vote



accepted










The configure script needs to be processed before it can be used. You should run



./mkclean/configure.compiled


from the parent directory instead, after converting its end-of-line characters (using fromdos from the tofrodos package):



fromdos mkclean/configure.compiled


The full build sequence, starting with the downloaded source code, is:



tar xf mkclean-0.8.10.tar.bz2
cd mkclean-0.8.10
fromdos mkclean/configure.compiled
./mkclean/configure.compiled
make -C mkclean


This gives me a release/gcc_linux_x64/mkclean binary.






share|improve this answer























  • I had to install package tofrodos for your 2nd command to work. I'm still getting the same error message after running your 2nd command and 1st
    – Freedo
    Jun 28 at 8:14










  • Running ./mkclean/configure.compiled still produces errors?
    – Stephen Kitt
    Jun 28 at 8:25










  • now it worked. I still cant use mkclean from terminal, any tip in how to achieve that? Thanks so much by the way!
    – Freedo
    Jun 28 at 8:30










  • From the same directory, ./release/gcc_linux_x64/mkclean works for me. make -C mkclean install (as root) would install the program in /usr/local/bin, so you’d be able to run it without specifying its path (if /usr/local/bin is on your PATH).
    – Stephen Kitt
    Jun 28 at 8:37












up vote
1
down vote



accepted







up vote
1
down vote



accepted






The configure script needs to be processed before it can be used. You should run



./mkclean/configure.compiled


from the parent directory instead, after converting its end-of-line characters (using fromdos from the tofrodos package):



fromdos mkclean/configure.compiled


The full build sequence, starting with the downloaded source code, is:



tar xf mkclean-0.8.10.tar.bz2
cd mkclean-0.8.10
fromdos mkclean/configure.compiled
./mkclean/configure.compiled
make -C mkclean


This gives me a release/gcc_linux_x64/mkclean binary.






share|improve this answer















The configure script needs to be processed before it can be used. You should run



./mkclean/configure.compiled


from the parent directory instead, after converting its end-of-line characters (using fromdos from the tofrodos package):



fromdos mkclean/configure.compiled


The full build sequence, starting with the downloaded source code, is:



tar xf mkclean-0.8.10.tar.bz2
cd mkclean-0.8.10
fromdos mkclean/configure.compiled
./mkclean/configure.compiled
make -C mkclean


This gives me a release/gcc_linux_x64/mkclean binary.







share|improve this answer















share|improve this answer



share|improve this answer








edited Jun 28 at 8:25


























answered Jun 28 at 7:56









Stephen Kitt

139k22299361




139k22299361











  • I had to install package tofrodos for your 2nd command to work. I'm still getting the same error message after running your 2nd command and 1st
    – Freedo
    Jun 28 at 8:14










  • Running ./mkclean/configure.compiled still produces errors?
    – Stephen Kitt
    Jun 28 at 8:25










  • now it worked. I still cant use mkclean from terminal, any tip in how to achieve that? Thanks so much by the way!
    – Freedo
    Jun 28 at 8:30










  • From the same directory, ./release/gcc_linux_x64/mkclean works for me. make -C mkclean install (as root) would install the program in /usr/local/bin, so you’d be able to run it without specifying its path (if /usr/local/bin is on your PATH).
    – Stephen Kitt
    Jun 28 at 8:37
















  • I had to install package tofrodos for your 2nd command to work. I'm still getting the same error message after running your 2nd command and 1st
    – Freedo
    Jun 28 at 8:14










  • Running ./mkclean/configure.compiled still produces errors?
    – Stephen Kitt
    Jun 28 at 8:25










  • now it worked. I still cant use mkclean from terminal, any tip in how to achieve that? Thanks so much by the way!
    – Freedo
    Jun 28 at 8:30










  • From the same directory, ./release/gcc_linux_x64/mkclean works for me. make -C mkclean install (as root) would install the program in /usr/local/bin, so you’d be able to run it without specifying its path (if /usr/local/bin is on your PATH).
    – Stephen Kitt
    Jun 28 at 8:37















I had to install package tofrodos for your 2nd command to work. I'm still getting the same error message after running your 2nd command and 1st
– Freedo
Jun 28 at 8:14




I had to install package tofrodos for your 2nd command to work. I'm still getting the same error message after running your 2nd command and 1st
– Freedo
Jun 28 at 8:14












Running ./mkclean/configure.compiled still produces errors?
– Stephen Kitt
Jun 28 at 8:25




Running ./mkclean/configure.compiled still produces errors?
– Stephen Kitt
Jun 28 at 8:25












now it worked. I still cant use mkclean from terminal, any tip in how to achieve that? Thanks so much by the way!
– Freedo
Jun 28 at 8:30




now it worked. I still cant use mkclean from terminal, any tip in how to achieve that? Thanks so much by the way!
– Freedo
Jun 28 at 8:30












From the same directory, ./release/gcc_linux_x64/mkclean works for me. make -C mkclean install (as root) would install the program in /usr/local/bin, so you’d be able to run it without specifying its path (if /usr/local/bin is on your PATH).
– Stephen Kitt
Jun 28 at 8:37




From the same directory, ./release/gcc_linux_x64/mkclean works for me. make -C mkclean install (as root) would install the program in /usr/local/bin, so you’d be able to run it without specifying its path (if /usr/local/bin is on your PATH).
– Stephen Kitt
Jun 28 at 8:37












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f452371%2fcompile-mkclean-on-ubuntu-16-04%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)