Skip to contentSkip to conversation

leveldb build issues in 0.44

DISCUSSION Nick Couchman 2 participants 3 messages Mar 25, 2012 – Mar 26, 2012

lore
Share & tools
lore
#0 lore raw

Well, leveldb is fine, but I'm still seeing a build error:

CXX libcommon_la-version.lo
In file included from ./rgw/rgw_common.h:18:0,

                 from ./rgw/rgw_access.h:11,
                 from test/encoding/types.h:87,
                 from test/encoding/ceph_dencoder.cc:13:

./common/ceph_crypto.h:44:22: fatal error: pk11pub.h: No such file or directory compilation terminated.

I believe I'm using the NSS library for crypto support, and I can see the pk11pub.h file in my include directory, so I know it's present.

-Nick

Quoted 1 line
Quoted 1 line
Quoted 1 line

Sage Weil 03/23/12 6:28 PM >>>

Hey Nick-

Can you confirm this fixes your problem? If so I can apply this to the stable branch (for 0.44.1).

Thanks!
sage

Quoted 10 lines · Alexandre Oliva
Quoted 4 lines · Nick Couchman

./db/builder.h:8:28: fatal error: leveldb/status.h: No such file or directory compilation terminated.

This is an RPM build

This patch fixed it for me.

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--------

This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.

#1 lore raw
Quoted 4 lines · Nick Couchman

Well, leveldb is fine, but I'm still seeing a build error:

CXX libcommon_la-version.lo
In file included from ./rgw/rgw_common.h:18:0,

Quoted 8 lines
                 from ./rgw/rgw_access.h:11,
                 from test/encoding/types.h:87,
                 from test/encoding/ceph_dencoder.cc:13:

./common/ceph_crypto.h:44:22: fatal error: pk11pub.h: No such file or directory compilation terminated.

I believe I'm using the NSS library for crypto support, and I can see the pk11pub.h file in my include directory, so I know it's present.

I just pushed a patch for this from Jim, d3bcac241f25f681a585c2115a79befe43dd7d6c. Can you verify things build cleanly now?

Thanks!
sage

Quoted 40 lines

-Nick

Quoted 1 line
Quoted 1 line
Quoted 1 line

Sage Weil 03/23/12 6:28 PM >>>

Hey Nick-

Can you confirm this fixes your problem? If so I can apply this to the stable branch (for 0.44.1).

Thanks!
sage

Quoted 10 lines · Alexandre Oliva
Quoted 4 lines · Nick Couchman

./db/builder.h:8:28: fatal error: leveldb/status.h: No such file or directory compilation terminated.

This is an RPM build

This patch fixed it for me.

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--------
This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. --
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

Well, I'm getting there...I'm building 0.44, so I had to back-port this patch into that tree, then I figured out that I had to run automake after applying that patch (actually, the autogen.sh script works fine). I believe the build is now working fine, I'm just fighting some last RPM packaging issues.

-Nick

Quoted 76 lines
Quoted 1 line
Quoted 1 line · Sage Weil
Quoted 8 lines · Nick Couchman

Well, leveldb is fine, but I'm still seeing a build error:

CXX libcommon_la-version.lo
In file included from ./rgw/rgw_common.h:18:0,

                 from ./rgw/rgw_access.h:11,
                 from test/encoding/types.h:87,
                 from test/encoding/ceph_dencoder.cc:13:

./common/ceph_crypto.h:44:22: fatal error: pk11pub.h: No such file or

directory

Quoted 4 lines

compilation terminated.

I believe I'm using the NSS library for crypto support, and I can see the pk11pub.h file in my include directory, so I know it's present.

I just pushed a patch for this from Jim, d3bcac241f25f681a585c2115a79befe43dd7d6c. Can you verify things build cleanly now?

Thanks!
sage

Quoted 6 lines

-Nick

Quoted 1 line
Quoted 1 line
Quoted 1 line

Sage Weil 03/23/12 6:28 PM >>>

Hey Nick-

Quoted 12 lines

Can you confirm this fixes your problem? If so I can apply this to the stable branch (for 0.44.1).

Thanks!
sage

Quoted 3 lines · Alexandre Oliva
Quoted 1 line · Nick Couchman

./db/builder.h:8:28: fatal error: leveldb/status.h: No such file or

directory

Quoted 14 lines
Quoted 7 lines
Quoted 3 lines

compilation terminated.

This is an RPM build

This patch fixed it for me.

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 2 lines

--------
This e-mail may contain confidential and privileged material for the sole use

of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.

Quoted 6 lines

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--------

This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.