help: No rule to make target `config/Makefile.def

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
winstonshi
Posts: 33
Joined: Mon, 2010-07-26, 15:12

help: No rule to make target `config/Makefile.def

#1 Post by winstonshi »

I want to make execute file for my arm system
I set environment variables as follow
export CXX=/usr/local/arm/arm-2009q1/bin/arm-none-linux-gnueabi-gcc
export LDFLAGS=-L/usr/local/arm/arm-2009q1/lib
export CPPFLAGS=-I/home/ema/Source/linux-03.00.00.03/include

but when run make all after run configure it always reported

ema@ema3530:/mnt/hgfs/D/dcmtk-3.5.5$ make all
Makefile:8: config/Makefile.def: No such file or directory
make: *** No rule to make target `config/Makefile.def'. Stop.

please help.

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

Makefile.def is created during the ./configure call. So, please check whether the configuration process really worked correctly.

winstonshi
Posts: 33
Joined: Mon, 2010-07-26, 15:12

#3 Post by winstonshi »

Jörg Riesmeier wrote:Makefile.def is created during the ./configure call. So, please check whether the configuration process really worked correctly.
thank you.
I do see a error as
checking size of char... configure: error: cannot compute sizeof (char)
See `config.log' for more details.
but i wonder if this error is fatal and i can't find config.log...
please help.

Uli Schlachter
DCMTK Developer
Posts: 120
Joined: Thu, 2009-11-26, 08:15

#4 Post by Uli Schlachter »

config.log should be saved in config/config.log.

Could you upload the whole file somewhere for us to take a look?

winstonshi
Posts: 33
Joined: Mon, 2010-07-26, 15:12

#5 Post by winstonshi »

Uli Schlachter wrote:config.log should be saved in config/config.log.

Could you upload the whole file somewhere for us to take a look?
thank you.
i upload in :
http://bbs.sjtu.edu.cn/file/IE/1282223539308582.log
thank you
please refresh the page (F5) if you can't see it at the first time

Uli Schlachter
DCMTK Developer
Posts: 120
Joined: Thu, 2009-11-26, 08:15

#6 Post by Uli Schlachter »

Even after a couple of refreshes, the page only says:

403 forbidden
You are not welcome to access this page

If any question, go to here
Does config.log contain "cannot compute sizeof (char)"? Are there any usable error messages around this?

winstonshi
Posts: 33
Joined: Mon, 2010-07-26, 15:12

#7 Post by winstonshi »

i wonder if i could upload the file here, this forum.
and i have posted followed and i have no idea if this is allowed.
if not, i will delete later.
Uli Schlachter wrote:Even after a couple of refreshes, the page only says:

403 forbidden
You are not welcome to access this page

If any question, go to here
Does config.log contain "cannot compute sizeof (char)"? Are there any usable error messages around this?
Last edited by winstonshi on Fri, 2010-08-20, 09:27, edited 1 time in total.

winstonshi
Posts: 33
Joined: Mon, 2010-07-26, 15:12

#8 Post by winstonshi »

winstonshi wrote:
Jörg Riesmeier wrote:Makefile.def is created during the ./configure call. So, please check whether the configuration process really worked correctly.
thank you.
I do see a error as
checking size of char... configure: error: cannot compute sizeof (char)
See `config.log' for more details.
but i wonder if this error is fatal and i can't find config.log...
please help.
problem solved.
thank you so much

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest