To build RT on my own

Hello,
This is the first time I am trying something like this , trying to build RT on Windows following the steps given Rawpedia and struck with this error ,( I think it is a error, I am not sure , I have little knowledge about this stuff)
Can somebody help here? what went wrong and what is my next step ?

_
$ curl -LO http://downloads.sourceforge.net/project/libiptcdata/libiptcdata/1.0.4/libiptcdata-1.0.4.tar.gz
_ Total Received % Xferd Average Speed Time Time Time Current_
_ Dload Upload Total Spent Left Speed_
_ 0 373 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0_
100 555k 100 555k 0 0 63897 0 0:00:08 0:00:08 --:–:-- 98k

$ tar xzf libiptcdata-1.0.4.tar.gz
bash: tar: command not found

$ cd libiptcdata-1.0.4
bash: cd: libiptcdata-1.0.4: No such file or directory

$ ./configure --prefix=/mingw64
bash: ./configure: No such file or directory_

Thanks in advance

Your path to ming64 is wrong.

I think you didn’t enter these commands inside the mingw64 shell … at least that’s how the errors look like in this case. I know, because this happened to me too :slight_smile:

Hello,
@paperdigits
My path to ming64 is c drive ,msys64 directory. I tried that also ,but no chance go ahead, see the code below ,I also entered some wrong paths by mistake ,please neglect them.

@ChasingShadows
I tried with the complete path of mingw64 , it is in my c drive, directory “msys64” but still I get the same error. I am attaching the file with top to bottom of shell window ,please look into it and help me. is it something connected with the very first line


/usr/bin/cp: cannot stat ‘C:\Windows\system32\drivers\etc\hosts’: No such file o r directory

admin@KVS MINGW64 ~
$ curl -LO http://downloads.sourceforge.net/project/libiptcdata/libiptcdata/1.0. 4/libiptcdata-1.0.4.tar.gz
Total Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 385 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 555k 100 555k 0 0 173k 0 0:00:03 0:00:03 --:–:-- 335k

admin@KVS MINGW64 ~
$ tar xzf libiptcdata-1.0.4.tar.gz

admin@KVS MINGW64 ~
$ ./configure --prefix=/mingw64
-bash: ./configure: No such file or directory

admin@KVS MINGW64 ~
$ ./configure --prefix=/mingw64
-bash: ./configure: No such file or directory

admin@KVS MINGW64 ~
$ =/mingw64
-bash: =/mingw64: No such file or directory

admin@KVS MINGW64 ~
$ =/mingw64
-bash: =/mingw64: No such file or directory

admin@KVS MINGW64 ~
$ ./configure --prefix=c:/msys2/mingw64
-bash: ./configure: No such file or directory

admin@KVS MINGW64 ~
$ ./configure --prefix=/sys2/mingw64
-bash: ./configure: No such file or directory

admin@KVS MINGW64 ~
$ ./configure --prefix=/msys64/mingw64
-bash: ./configure: No such file or directory

admin@KVS MINGW64 ~
$ ./configure --prefix=c:/msys64/mingw64
-bash: ./configure: No such file or directory

admin@KVS MINGW64 ~
$


Thanks in advance for all the help

Folder seperators in bash are / not \

@paperdigits thanks for the help , got over the problem of iptcdata download and build issue.
when I went to the next step that is build and install library, i got this error

main.c:19:22: fatal error: langinfo.h: No such file or directory
#include <langinfo.h>

It seems compiling and building our own RT is not such a easy task , Anyhow learning a lot from this and it is exciting and fun and sometimes lot of pain for poor knowledge of this process.
Thanks for any help

@gaaned92 I’m trying to build RT 32-bits, but faces the same problem than @KVSSetty here above, i.e. can’t build libiptcdata because it can’t find langinfo.h. IIRC, you managed to build RT 32-bit, so have you faced this problem too - and how did you solved it ?

@Hombre
Last time I built libiptcdata I did not faced this problem so I have no solution now.
I am going to try again, perhaps something changed (new version, new dependencies…)

Is the crash in the configure or make phase?
And how @KVSSetty got over the problem?

Rebuilt IPTC with no problem.

  • you have to build in a mingw32 shell
  • you have to modify the makefile as indicated, unless it crashes

@gaaned92 That’s right, I probably forgot to remove iptc from the SUBDIRS list in Makefile, it’s compiled now, thanks.