Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: installing from source

installing from source 15 years 11 months ago #232

  • siamect
  • siamect's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 116
  • Thank you received: 1
  • Karma: 1
Dear All
Thanks for making Proview open source. I have been searching for a long time to find something like this.

I have Gentoo Linux where i work and I want to continue with that as we have used it for many machines HMI and data recording systems and it have worked very well.

When I issue the make command i get this:
../../wb_db.cpp:28:20: error: db_cxx.h: No such file or directory
../../wb_db.cpp:28:20: error: db_cxx.h: No such file or directory
../../wb_db.h:60: error: ISO C++ forbids declaration of 'DbEnv' with no type
../../wb_db.h:60: error: expected ';' before '*' token
../../wb_db.h:61: error: ISO C++ forbids declaration of 'Db' with no type
../../wb_db.h:61: error: expected ';' before '*' token
../../wb_db.h:62: error: ISO C++ forbids declaration of 'Db' with no type
../../wb_db.h:62: error: expected ';' before '*' token
../../wb_db.h:63: error: ISO C++ forbids declaration of 'Db' with no type
../../wb_db.h:63: error: expected ';' before '*' token
../../wb_db.h:64: error: ISO C++ forbids declaration of 'Db' with no type
../../wb_db.h:64: error: expected ';' before '*' token
../../wb_db.h:65: error: ISO C++ forbids declaration of 'Db' with no type
../../wb_db.h:65: error: expected ';' before '*' token
../../wb_db.h:66: error: ISO C++ forbids declaration of 'Db' with no type
../../wb_db.h:66: error: expected ';' before '*' token
../../wb_db.h:91: error: 'Dbc' has not been declared
../../wb_db.h:140: error: 'Dbt' does not name a type
../../wb_db.h:141: error: 'Dbt' does not name a type
../../wb_db.h:168: error: 'Dbt' does not name a type
../../wb_db.h:169: error: 'Dbt' does not name a type
../../wb_db.h:171: error: ISO C++ forbids declaration of 'Dbc' with no type
and so on....

I guess I'm missing one or two of the dependencies but I cannot figure out what is missing.

I will try to install on a few computers i have at home also and see if i get the same there... but i would like to know if you have a quick answer to this.

Best regards

Martin Pettersson
ETA (Thailand) Co., Ltd.
Assembly Division
Technical Expert 1
The administrator has disabled public write access.

Re:installing from source 15 years 11 months ago #233

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3177
  • Thank you received: 502
  • Karma: 133
Hello Martin,

You are missing the Berkeley DB development libraries for c++ (libdb4.3++-dev or libdb4.4++dev dependent on which version of Brerkeley db that is installed).

/Claes
The administrator has disabled public write access.

Re:installing from source 15 years 11 months ago #234

  • siamect
  • siamect's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 116
  • Thank you received: 1
  • Karma: 1
Many Thanks!
I will try again...

Best regards
Martin
The administrator has disabled public write access.

Re:installing from source 15 years 10 months ago #237

  • siamect
  • siamect's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 116
  • Thank you received: 1
  • Karma: 1
Dear Claes

Berkeley DB development libraries are there, but I have some problems with some symlinks. I added the full path to the includes of the db_cxx.h file in the sources and it went through the make without problems.


Thanks and Best to you all
Martin

Post edited by: siamect, at: 2008/05/25 18:24
The administrator has disabled public write access.

Re:installing from source 15 years 10 months ago #238

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3177
  • Thank you received: 502
  • Karma: 133
Hello Martin,

In the releases we build, db_cxx.h is located in /usr/include, so an alternative could be to copy db_cxx.h to /usr/include. Then you don't have to make any changed in the source code.

/Claes
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 7.831 seconds