Skip to content

Instantly share code, notes, and snippets.

@ruehowl
Last active October 3, 2019 06:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruehowl/0dff36674b67ae984c108e23ffec933f to your computer and use it in GitHub Desktop.
Save ruehowl/0dff36674b67ae984c108e23ffec933f to your computer and use it in GitHub Desktop.
mkdir ~/idealem
cd ~/idealem
mv ~/Downloads/idealem-0.2.2.tar .
tar zxf idealem-0.2.2.tar
INSTALL_DIR="$PWD"
echo $INSTALL_DIR
cd idealem-0.2.2
./configure --prefix=$INSTALL_DIR
make
make install
export LD_LIBRARY_PATH="$INSTALL_DIR:$LD_LIBRARY_PATH"
export PATH="$INSTALL_DIR:$PATH"
cd samples
which idealem_c
idealem_c -i testdata4e3.txt -encode -decode -o testdata4e3.txt.o.data
ls -l testdata4e3*
@ruehowl
Copy link
Author

ruehowl commented Oct 3, 2019

 (us-east-1.dmb.k8s.qlikcloud.io)  dmb@APAC-dmb    mkdir ~/idealem
cd ~/idealem
mv ~/Downloads/idealem-0.2.2.tar .
tar zxf idealem-0.2.2.tar
INSTALL_DIR="$PWD"
echo $INSTALL_DIR
cd idealem-0.2.2
./configure --prefix=$INSTALL_DIR
make
make install
export LD_LIBRARY_PATH="$INSTALL_DIR:$LD_LIBRARY_PATH"
export PATH="$INSTALL_DIR:$PATH"
cd samples
which idealem_c
idealem_c -i testdata4e3.txt -encode -decode -o testdata4e3.txt.o.data
ls -l testdata4e3*
/Users/dmb/idealem
DEFAULT_PREFIX=/Users/dmb/idealem
checking for install... ok
checking for GNU C compiler... found
checking for GNU C++ compiler... found
checking for GNU AR compiler... found
*** Non-Linux configuration APAC-dmb
prefix = /Users/dmb/idealem
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for strcat... yes
configure: creating ./config.status
config.status: creating ./Makefile
config.status: creating ./src/Makefile
config.status: creating ./samples/Makefile
config.status: creating ./tester/Makefile

IDEALEM configured...
logfile is ... idealem-cf-1003191214.log


for i in src samples tester ; \
	do \
	(cd $i ; echo "making" all "in /Users/dmb/idealem/idealem-0.2.2..." ; \
	/Library/Developer/CommandLineTools/usr/bin/make all  ) ; \
	done
making all in /Users/dmb/idealem/idealem-0.2.2...
cd .; /usr/bin/gcc -g -std=gnu99  -I. -Wno-deprecated -c idealem_single_stream.c
cd .; /usr/bin/gcc -g -std=gnu99  -I. -Wno-deprecated -c idealem_util.c
cd .; /usr/bin/gcc -g -std=gnu99  -I. -Wno-deprecated -c idealem_file_stream.c
cd .; /usr/bin/gcc -g -std=gnu99  -I. -Wno-deprecated -c kstest.c
/usr/bin/ar -cvq  libidealem_c.a idealem_single_stream.o idealem_util.o idealem_file_stream.o kstest.o
q - idealem_single_stream.o
q - idealem_util.o
q - idealem_file_stream.o
q - kstest.o
making all in /Users/dmb/idealem/idealem-0.2.2...
cd .; /usr/bin/gcc -g -std=gnu99  -I. -Wno-deprecated -I/Users/dmb/idealem/idealem-0.2.2/src -c idealem_rim.c
/usr/bin/gcc -g -std=gnu99 -o idealem_c idealem_rim.o  -L/Users/dmb/idealem/idealem-0.2.2/src /Users/dmb/idealem/idealem-0.2.2/src/libidealem_c.a -lm
making all in /Users/dmb/idealem/idealem-0.2.2...
cd .; /usr/bin/gcc -g -std=gnu99  -I. -Wno-deprecated -I/Users/dmb/idealem/idealem-0.2.2/src -c idealem_bin2text.c
/usr/bin/gcc -g -std=gnu99 -o idealem_b2t idealem_bin2text.o  -L/Users/dmb/idealem/idealem-0.2.2/src
for i in src samples tester ; \
	do \
	(cd $i ; echo "making" install "in /Users/dmb/idealem/idealem-0.2.2/$i..." ; \
	/Library/Developer/CommandLineTools/usr/bin/make install) ; \
	done
making install in /Users/dmb/idealem/idealem-0.2.2/src...
/usr/bin/install libidealem_c.a /Users/dmb/idealem/lib
/usr/bin/install idealem_common.h idealem_file_stream.h idealem_util.h /Users/dmb/idealem/include
making install in /Users/dmb/idealem/idealem-0.2.2/samples...
/usr/bin/install idealem_c /Users/dmb/idealem/bin
making install in /Users/dmb/idealem/idealem-0.2.2/tester...
/usr/bin/install idealem_b2t /Users/dmb/idealem/bin
/Users/dmb/temp/bin/idealem_c
-rw-r--r--@ 1 dmb  241535304  47634 Aug 13  2016 testdata4e3.txt
-rw-r--r--  1 dmb  241535304   9804 Oct  3 12:14 testdata4e3.txt.o.data
-rw-r--r--  1 dmb  241535304  45120 Oct  3 12:14 testdata4e3.txt.o.data.o.data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment