Comments (13)
Fails to build in FreeBSD
line in ./src/ctemplate/template_string.h:
typedef TemplateId;
fails.
had to change it to:
typedef __uint64_t TemplateId;
Original comment by [email protected]
on 28 Sep 2009 at 4:56
from ctemplate.
Strange. I've successfully compiled this on FreeBSD (6.0).
This looks to be an issue with the configure run. Can you attach your
config.log file?
Original comment by [email protected]
on 29 Sep 2009 at 6:50
- Added labels: Type-Defect, Priority-Medium
from ctemplate.
Looking back into my bash_history to confirm, I ran configure like this:
CPPFLAGS="-Os -march=native -fomit-frame-pointer" ./configure
which runs fine on my Gentoo box. If it helps, my Gentoo uses gcc 4.4.1 and my
FreeBSD uses 4.2.1, also:
[root@marconi /etc]# uname -a
FreeBSD marconi.domain 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25
UTC
2009 [email protected]:/usr/obj/usr/src/sys/GENERIC i386
Original comment by [email protected]
on 29 Sep 2009 at 10:57
Attachments:
from ctemplate.
OK, something really weird is going on here. Your config.log says:
ac_cv_uint64=''
But the configure script says:
---
if test "$ac_cv_type_u_int64_t" == "yes"; then
ac_cv_uint64=u_int64_t
elif test "$ac_cv_type_uint64_t" == "yes"; then
ac_cv_uint64=uint64_t
elif test "$ac_cv_type___int64" == "yes"; then
ac_cv_uint64=unsigned __int64
else
ac_cv_uint64=unsigned long long
# best we can do
fi
---
I don't see any way ac_cv_uint64 could be assigned to ''. Does your configure
script
also have that code snippet above?
Actually, I'm very suspicious of this:
---
line in ./src/ctemplate/template_string.h:
typedef TemplateId;
fails.
---
Is that verbatim what you had in the file? I would have expected two spaces
between
typedef and TemplateId. Maybe you can attach this entire file?
Original comment by [email protected]
on 29 Sep 2009 at 11:12
from ctemplate.
Yes, my configure has that, verbatim, and I found something very similar in
configure.ac.
Yes, your right, I did not copy it properly, the correct is:
typedef TemplateId;
I'm attaching all the files that were generated by the configure script. I
extracted the tar.gz file in a new location, ran configure and tar'ed all the
files
listed at the end of the script that were created; e.g.
config.status creating Makefile
Original comment by [email protected]
on 30 Sep 2009 at 11:01
Attachments:
from ctemplate.
Thanks. I don't see any smoking guns in these files, unfortunately. Can you
also
attach your config.status file? Might as well throw in your configure script
for
good measure.
Original comment by [email protected]
on 1 Oct 2009 at 4:57
from ctemplate.
tar czvf config.tgz config* ;-)
Original comment by [email protected]
on 1 Oct 2009 at 5:13
Attachments:
from ctemplate.
OK, I'm at a loss. Everything seems to be working properly, to me. My only
guess is
I have a bash-ism in there somewhere. What happens when you run
bash configure
instead of just ./configure?
Original comment by [email protected]
on 2 Oct 2009 at 8:21
from ctemplate.
'bash configure' works fine!
Original comment by [email protected]
on 6 Oct 2009 at 5:13
Attachments:
from ctemplate.
OK, I'm going to assume it's that == is a bash-ism, then. I've fixed this for
the
next release. Let's revisit this bug then and see if it's fixed for you.
Original comment by [email protected]
on 13 Oct 2009 at 1:02
- Changed state: Started
from ctemplate.
Which '=='? Could you attach the file with this fix so I could test it?
Original comment by [email protected]
on 19 Oct 2009 at 3:48
from ctemplate.
This should be fixed in ctemplate 0.96, just released. If not, please feel
free to
reopen the bug.
Original comment by [email protected]
on 20 Oct 2009 at 5:32
- Changed state: Fixed
from ctemplate.
I've tested it and can confirm: it has been fixed.
Thank you.
Original comment by [email protected]
on 20 Oct 2009 at 6:15
from ctemplate.
Related Issues (20)
- README missing autogen.sh step for Compilation HOT 4
- python2 does not work with Mac with src/htmlparser/generate_fsm.py HOT 4
- make (dist)check fails HOT 5
- Macro Redefinition and Header Conflicts Causes Issue Installing HOT 5
- Include files *_fsm.h not exist HOT 6
- Not libctemplate.
- Libtool library used but 'LIBTOOL' is undefined HOT 3
- Preview documentation as GitHub Pages HOT 1
- Ctemplate issue while using protoc plugins HOT 3
- VS2017 latest version, build ctemplate failed HOT 11
- build with >=gcc-7.1 failed HOT 10
- Create release that supports Python 3 HOT 12
- How to skip blank field? HOT 1
- ctemplate 2.4 Mac OSX build failed
- How to install Ctemplate in Centos 7?
- when i reboot service, ctemplate produce coredump HOT 3
- `README.md` points to a non-existent file `INSTALL` HOT 1
- ctemplate-2.4 dose not has the configure file๏ผ HOT 6
- A bunch of undefined errors occur when make HOT 1
- Add support for windows arm64
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ctemplate.