vmware-archive / lightwave

Identity services for traditional infrastructure, applications and containers.
Other
321 stars 101 forks source link

javah not found #44

Closed HynekPetrak closed 3 years ago

HynekPetrak commented 4 years ago

Hi,

while running bootstrapping on the current Photon, I get configure errors:

gerrit-lightwave commented 4 years ago

Hi Hynek:

To build lightwave source, please do this: wget https://github.com/evo-cloud/hmake/releases/download/v1.3.1/hmake-linux-amd64.tar.gz tar xvzf hmake-linux-amd64.tar.gz chmod +x hmake

Optional - to make available across the system

mv hmake /usr/local/bin

Then at the top Lightwave source directory, run "hmake" to build Lightwave packages.

Hope this help. We will update README soon to replace out-dated instructions.

--Sung


From: Hynek Petrak notifications@github.com Sent: Wednesday, September 25, 2019 7:33 AM To: vmware/lightwave lightwave@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [vmware/lightwave] javah not found (#44)

Hi,

while running bootstrapping on the current Photon, I get configure errors:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fvmware%2Flightwave%2Fissues%2F44%3Femail_source%3Dnotifications%26email_token%3DAEIUOQA2APXZFMZCMSMBBZDQLNZDFA5CNFSM4I2NWB52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HNT3Y6Q&data=02%7C01%7Csruo%40vmware.com%7C19bf177993de4b8032ae08d741c551b2%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637050188049536663&sdata=oaGto3YIHjYGy9WA6pSN2jJGOJzeaOY4oJ4RjVHsPg8%3D&reserved=0, or mute the threadhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEIUOQAQZDCIYMK6BG2ADGLQLNZDFANCNFSM4I2NWB5Q&data=02%7C01%7Csruo%40vmware.com%7C19bf177993de4b8032ae08d741c551b2%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637050188049546657&sdata=1dulMrmMLMxGaw4MO0fGRhEF4pco4w%2FHoqKKRcjjQ84%3D&reserved=0.

HynekPetrak commented 4 years ago

Thank you, that worked a bit, however I get an error later: ''' [build-lightwave-photon2] Using classpath ../../../vmafd/authentication-framework/packages [build-lightwave-photon2] /usr/bin/javac -o vecsjni.h -classpath ../../../vmafd/authentication-framework/packages/vmware-endpoint-certificate-store.jar com.vmware.identity.vecs.VecsAdapter [build-lightwave-photon2] javac: invalid flag: -o [build-lightwave-photon2] Usage: javac '''

gerrit-lightwave commented 4 years ago

Hmm, I don't see this error. I got - [build-lightwave-photon2] make[3]: Entering directory '/src/build/vmafd/interop/jni' [build-lightwave-photon2] Using classpath ../../../vmafd/authentication-framework/packages [build-lightwave-photon2] /usr/bin/javah -o vecsjni.h -classpath ../../../vmafd/authentication-framework/packages/vmware-endpoint-certificate-store.jar com.vmware.identity.vecs.VecsAdapter [build-lightwave-photon2] make all-am [build-lightwave-photon2] make[4]: Entering directory '/src/build/vmafd/interop/jni'

Not clear why your build try to use javac instead of javah. What is the OS of your build machine?

--Sung


From: Hynek Petrak notifications@github.com Sent: Thursday, September 26, 2019 5:08 AM To: vmware/lightwave lightwave@noreply.github.com Cc: Lightwave-checkins Lightwave-checkins@vmware.com; Comment comment@noreply.github.com Subject: Re: [vmware/lightwave] javah not found (#44)

Thank you, that worked a bit, however I get an error later: ''' [build-lightwave-photon2] Using classpath ../../../vmafd/authentication-framework/packages [build-lightwave-photon2] /usr/bin/javac -o vecsjni.h -classpath ../../../vmafd/authentication-framework/packages/vmware-endpoint-certificate-store.jar com.vmware.identity.vecs.VecsAdapter [build-lightwave-photon2] javac: invalid flag: -o [build-lightwave-photon2] Usage: javac '''

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fvmware%2Flightwave%2Fissues%2F44%3Femail_source%3Dnotifications%26email_token%3DAEIUOQDUBYBUD6IBB3Q33LTQLSQ4DA5CNFSM4I2NWB52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7VKY6A%23issuecomment-535473272&data=02%7C01%7Csruo%40vmware.com%7Cf2f17b2fb7914224ba8d08d7427a40f8%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637050965193647987&sdata=c0X9nOPTVnc%2BiyjkRPn%2FJVtUP%2BC7AxJ%2BuiIEWWGwmJ0%3D&reserved=0, or mute the threadhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEIUOQDSXMV3G6USUFUVAL3QLSQ4DANCNFSM4I2NWB5Q&data=02%7C01%7Csruo%40vmware.com%7Cf2f17b2fb7914224ba8d08d7427a40f8%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637050965193657981&sdata=bIWLsZ7bX9LfWhOFjPWsdfmteyPdgGQdm9sKLjQc1wo%3D&reserved=0.

HynekPetrak commented 4 years ago

Kali rolling. Which package is javah from?

HynekPetrak commented 4 years ago

Finally I installed openjdk-8-jdk-headless, which installs javah. Apparently javah has been removed from recent jdk releases.